def SocketConnection(host, port=DEFAULT_PORT):
 return Connection(Channel(SocketStream.from_new_socket(host, port)))

def SocketConnection ( host , port = DEFAULT_PORT ) : return Connection ( Channel ( SocketStream . from_new_socket ( host , port ) ) )
shorthand for creating a conneciton over a socket to a server .