Friday 29 March 2013

Boost

After class the other day a question had been raised about network programming, I've used Boost::asio in the past for my own network programming tasks. Boost is a third party library pack, designed for platform independence, that contains libraries for a large majority of common tasks. Boost ASIO is their (A)Synchronous In Out library that contains support for, among other tasks, TCP/UDP programming. In order to implement full duplex(asynchronous) communication you also need to implement threading to allow the reading and writing handles to run on separate threads to prevent them from blocking one another - synchronous communication. Boost provides thread management support in their Boost::thread library.

http://www.boost.org/

No comments:

Post a Comment