(host, port)
return server
Return a local server socket listening on the given port.
Return a local server socket listening on the given port.
Return a local server socket listening on the given port .
def create_server(host, port):
    """Return a local server socket listening on the given port."""
    if host is None:
        host = 'localhost'
    server = _new_sock()
    server.bind((host, port))
    server.listen(1)
    return server
def create_server ( host , port ) : if host is None : host = 'localhost' server = _new_sock ( ) server . bind ( ( host , port ) ) server . listen ( 1 ) return server