def bind(endpoint)
      rc = ffi_delegate.bind("%s", :string, endpoint)
      raise_zmq_err("unable to bind to %p" % endpoint) if rc == -1
      @last_tcp_port = rc if rc > 0
    end
def bind(endpoint)
      rc = ffi_delegate.bind("%s", :string, endpoint)
      raise_zmq_err("unable to bind to %p" % endpoint) if rc == -1
      @last_tcp_port = rc if rc > 0
    end
Binds to an endpoint.
 @note When binding to an automatically selected TCP port, this will set
   {#last_tcp_port}.
 @param endpoint [String]
 @return [void]
 @raise [SystemCallError] in case of failure