See Overall requirements for a list of some books.
But, Jason, "A C++ Socket Library for Linux: An IPv4/IPv6? class-based sockets C++ library", June 2002, Dr. Dobbs Journal, http://www.ddj.com/documents/s=7157/ddj0206a/0206a.htm
Tougher, Rob, "Linux Socket Programming In C++", Jan 2002, Linux Gazette, http://linuxgazette.net/issue74/tougher.html
Tougher, Rob, "A Framework For Writing Application Servers In C++", Jun 2002, Linux Gazette, http://linuxgazette.net/issue79/tougher.html
Sobczak, Maciej, "An Iostream-Compatible Socket Wrapper", Dec 2001, C/C++ Users Journal, http://www.cuj.com http://www.maciejsobczak.com/prog/publications.html
These aren't endorsements, just other libraries that might be mined for ideas.
And just for kicks some JAVA stuff
And for even more kicks Python stuff