Alternative TCPSocket example

Changes