Example of TCP Socket connection from MSDN