Work on the TCP socket class