I am designing a viewer that communicates via the network some actions, like playback, scrubbing, etc. I decided to code it with boost::asio, but I am too unfamiliar with it and the examples did not help much. What I need is the following: - server starts a group - one client connects to server - server and client do several handshake transmissions to sync (same movie file, etc). - client or server perform a playback or a seek to certain frame and the other (client or server) follows. Can someone suggest what should I use and what steps to take in draft form? Currently I have two threads one for the server and one for the client but lack knowledge of the asio api on how to perform a handshake (a send/receive pair, basically).
I too am attempting to use ASIO for the first time. I found these two books to be helpful. http://www.amazon.com/Introduction-Boost-Libraries-Volume-II/dp/9491028022/ref=wl_it_dp_o_pC_S_nC?ie=UTF8&colid=ZFS0JBNKV13R&coliid=I2HL5WFEL44V0E http://www.amazon.com/The-Boost-Libraries-Boris-Sch%C3%A4ling/dp/0982219199/ref=wl_it_dp_o_pC_S_nC?ie=UTF8&colid=ZFS0JBNKV13R&coliid=I1CEP87GIG10IJ And this link. http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio/reference.html SGL steven.lemay@igt.com -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Gonzalo Garramuno Sent: Thursday, November 08, 2012 3:08 PM To: boost-users@lists.boost.org Subject: [Boost-users] Boost::Asio help for viewer I am designing a viewer that communicates via the network some actions, like playback, scrubbing, etc. I decided to code it with boost::asio, but I am too unfamiliar with it and the examples did not help much. What I need is the following: - server starts a group - one client connects to server - server and client do several handshake transmissions to sync (same movie file, etc). - client or server perform a playback or a seek to certain frame and the other (client or server) follows. Can someone suggest what should I use and what steps to take in draft form? Currently I have two threads one for the server and one for the client but lack knowledge of the asio api on how to perform a handshake (a send/receive pair, basically). _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
I am designing a viewer that communicates via the network some actions, like playback, scrubbing, etc. I decided to code it with boost::asio, but I am too unfamiliar with it and the examples did not help much. What I need is the following:
Subject: [Boost-users] Boost::Asio help for viewer
If you can get ahold of Michael Caisse boostcon presentation it's the best intro to the library I've seen. It used to be here -- http://blip.tv/boostcon/michael-caisse-an-asio-based-flash-xml-server-419035... But I know there are copies about from people that listen on this list... Jeff
On Thu, Nov 8, 2012 at 6:38 PM, Jeff Garland
If you can get ahold of Michael Caisse boostcon presentation it's the best intro to the library I've seen. It used to be here --
http://blip.tv/boostcon/michael-caisse-an-asio-based-flash-xml-server-419035...
But I know there are copies about from people that listen on this list...
Jeff
Actually it was posted a few days ago you can find it here: http://wipkip.nikhef.nl/events/BoostCon/2010/
On 08/11/12 20:20, Lemay.Steve wrote:
And this link.
http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio/reference.html
Thanks for this link. It is extremely useful.
participants (3)
-
Gonzalo Garramuno
-
Jeff Garland
-
Lemay.Steve