code: def create(cls, zmq_context, endpoint):
          
          socket = zmq_context.socket(zmq.ROUTER)
          socket.bind(endpoint)
          return cls(socket)
docs: Create new server transport.
  
          Instead of creating the socket yourself, you can call this function and
          merely pass the :py:class:`zmq.core.context.Context` instance.
  
          By passing a context imported from :py:mod:`zmq.green`, you can use
          green (gevent) 0mq sockets as well.
  
          :param zmq_context: A 0mq context.
          :param endpoint: The endpoint clients will connect to.