You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a problem. On the survey server, I want to change the timeout of nng_recv. When using nng_socket_set_ms(sock, NNG_OPT_RECVTIMEO, timeout), if the timeout is less than 1 second, nng_recv will successfully block the corresponding time. But when the timeout is greater than 1 second, nng_recv is always blocked for 1 second.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
void server(const char *url)
{
nng_socket sock;
int rv;
}
I encountered a problem. On the survey server, I want to change the timeout of nng_recv. When using nng_socket_set_ms(sock, NNG_OPT_RECVTIMEO, timeout), if the timeout is less than 1 second, nng_recv will successfully block the corresponding time. But when the timeout is greater than 1 second, nng_recv is always blocked for 1 second.
Beta Was this translation helpful? Give feedback.
All reactions