The same tcplib for Windows
environment (WinSocket) and an example of using it which has a server and a client program.
To compile this set of program under VC++, you need to include tcplib.cpp in
the file (i.e. tcplib.cpp and tcpecho.cpp as one set, tcplib.cpp and
TCPechod.cpp as another set). Make sure add wsock32.lib to the library modules
(in Project Setting/Link). When compiling the server program, you also need to
set multiple thread option (in Project Setting/C++/Code Generation/Use run-time
library). If you will use I/O on the server side, you also need to include
libcmtd.lib in your linking libraries.