Discussion:
[asio-users] Reading TCP/IP Packet over LAN
Jithendrakumar K
2015-04-28 06:05:06 UTC
Permalink
Hi ,

This is Jithendra, i would like to know if there's any program that can
read TCP/IP Packet over LAN continuosly.

my goal is to read packet continuously that is coming from a software,
and i just want to read the data in that packet.

is there any way to do that???
--
WITH REGARDS,
Jithendrakumar K.
Darren Cook
2015-04-28 07:08:08 UTC
Permalink
Post by Jithendrakumar K
read TCP/IP Packet over LAN continuosly.
my goal is to read packet continuously that is coming from a software,
and i just want to read the data in that packet.
Do you mean a LAN packet sniffer? Or do you mean the client for a
streaming protocol?

Assuming the latter, as long as neither your nor the server close the
connection, you have a streaming connection, so just about any of the
example client programs are applicable:
http://www.boost.org/doc/libs/1_53_0/doc/html/boost_asio/examples.html

E.g. if you are consuming an http streaming web service, the http
async_client.cpp should do the job.

Darren
--
Darren Cook, Software Researcher/Developer
My new book: Data Push Apps with HTML5 SSE
Published by O'Reilly: (ask me for a discount code!)
http://shop.oreilly.com/product/0636920030928.do
Also on Amazon and at all good booksellers!

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
asio-users mailing list
asio-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asio-users
_______________________________________________
Using Asio? List your project at
http://think-async.com/Asio/WhoIsUsingAsio
Loading...