(protocol_factory, port)
return abstract_server
Listen on a port and create new peers on that connection.
Listen on a port and create new peers on that connection.
Listen on a port and create new peers on that connection .
def create_server(protocol_factory, port):
    """
    Listen on a port and create new peers on that connection.
    """
    abstract_server = yield from asyncio.get_event_loop().create_server(
        protocol_factory=protocol_factory, port=port)
    return abstract_server
def create_server ( protocol_factory , port ) : abstract_server = yield from asyncio . get_event_loop ( ) . create_server ( protocol_factory = protocol_factory , port = port ) return abstract_server