first work on tcpserver