[nanomsg] Re: Nameservice prototype

  • From: Paul Colomiets <paul@xxxxxxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Mon, 9 Sep 2013 19:49:34 +0300

Hi,

Ah, forgot to say that to play with it in API you should use AF_SP_TOPOLOGY
family name. E.g.:

int sock = nn_socket(AF_SP_TOPOLOGY, NN_REQ);
nn_connect(sock, "topology://top1");

(just committed nn_symbol so that you can use AF_SP_TOPOLOGY by wisely
written language bindings)

--
Paul

Other related posts: