Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
244882446a
  1. 2
      crypto777/nanosrc/aio/usock_posix.c

2
crypto777/nanosrc/aio/usock_posix.c

@ -1286,7 +1286,7 @@ static int nn_usock_recv_raw(struct nn_usock *self, void *buf, size_t *len)
#if NN_USE_MYMSG
nbytes = myrecvmsg(self->s,&hdr,0,(int32_t)iov.iov_len);
printf("got nbytes.%d from recvmsg errno.%d\n",(int32_t)nbytes,errno);
printf("got nbytes.%d from recvmsg errno.%d %s\n",(int32_t)nbytes,errno,nn_strerror(errno));
#else
nbytes = recvmsg (self->s, &hdr, 0);
#endif

Loading…
Cancel
Save