|
@ -145,7 +145,7 @@ void LP_psockloop(void *_ptr) |
|
|
} |
|
|
} |
|
|
else if ( (pfds[n].revents & POLLIN) != 0 ) |
|
|
else if ( (pfds[n].revents & POLLIN) != 0 ) |
|
|
{ |
|
|
{ |
|
|
printf("publicsock.%d %s has pollin\n",ptr->publicsock,ptr->publicaddr); |
|
|
//printf("publicsock.%d %s has pollin\n",ptr->publicsock,ptr->publicaddr);
|
|
|
if ( (size= nn_recv(ptr->publicsock,&buf,NN_MSG,0)) > 0 ) |
|
|
if ( (size= nn_recv(ptr->publicsock,&buf,NN_MSG,0)) > 0 ) |
|
|
{ |
|
|
{ |
|
|
ptr->lasttime = now; |
|
|
ptr->lasttime = now; |
|
|