Update TcpServer.cpp

add cmd process