docs: def set_endpoint(self, format, *args):
          """
          By default, Zyre binds to an ephemeral TCP port and broadcasts the local
  host name using UDP beaconing. When you call this method, Zyre will use
  gossip discovery instead of UDP beaconing. You MUST set-up the gossip
  service separately using zyre_gossip_bind() and _connect(). Note that the
  endpoint MUST be valid for both bind and connect operations. You can use
  inproc://, ipc://, or tcp:// transports (for tcp://, use an IP address
  that is meaningful to remote as well as local nodes). Returns 0 if
  the bind was successful, else -1.
          """
          return lib.zyre_set_endpoint(self._as_parameter_, format, *args)