tcpserver class edit