Sockstream is a project mainly written in C++, it's free.
C++ stream implementation for unix inet sockets