Changed from using TcpClient to Socket
Fixed usage of a packet