Shared Class SocketConnection written