sample of tcp server
sample of tcp client