Libtcp++ is a C++ class library to facilitate the creation of TCP/IP clients and servers. It has three classes, TcpClient, TcpServer and TcpIpRuleSet. TcpServer has build it logging capability peer detection method, and IP-based access control in addition to regular server functionality. TcpClient supports a user specified timeout on connect(), nice for port/host scanning, and other situations when you may be connecting to a dead host or a firewalled port.