Post by Jithendrakumar Kread 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