chat server and tcp server