explain how to connect to the TCP server in the Web Server