Inital TCOServer class commit

i have no idea how to socket, i hope this code works

TCPServer server = new TCPServer() //use default port 12572
or
TCPServer server = new TCPServer(int port)//use arg as port

read() method to read packet
write() method to sent string client