The more I play with boost, the more impressed I am by it.  Lately I've been experimenting with boost::asio.  I have a fair amount of experience with Apache MINA for Java, and after playing with boost::asio I think I've found its rough equivalent in c++.
Here is the code I've been playing with, an implementation of a TCP proxy (accept connections from 1 to N endpoints, forward them to some remote endpoint).  This implementation uses asynchronous operations for all I/O socket operations, and allows for multi-threading - by default it creates a thread pool sized by the number of hardware threads the machine supports.
Sunday, May 16, 2010
Subscribe to:
Comments (Atom)