I found a wrapper class library for winsock, if anyone is interested: http://www.cplusplus.com/src/#ansi