Browse Source

test

etomic
jl777 8 years ago
parent
commit
18f419b52c
  1. 1
      iguana/dpow/dpow_network.c

1
iguana/dpow/dpow_network.c

@ -270,6 +270,7 @@ void dpow_nanomsginit(struct supernet_info *myinfo,char *ipaddr)
}
else
{
printf("NN_BIND to %s\n",str);
if ( myinfo->dexsock < 0 && (myinfo->dexsock= nn_socket(AF_SP,NN_BUS)) >= 0 )
{
if ( nn_bind(myinfo->dexsock,nanomsg_tcpname(str,myinfo->ipaddr,DEX_SOCK)) < 0 )

Loading…
Cancel
Save