created a TCP client server