(void *)DATE, strlen(DATE) + 1, 0)) != 0) { fatal("nng_send", rv); } for (;;) { char* buf = NULL; size_t sz; rv = nng_recv(sock, &buf, &sz, NNG_FLAG_ALLOC); if (rv == NNG_ETIMEDOUT) { break; } if (rv != ...
I believe that the problem here is that the protocols that use transportpipe_sendcan wind up losing the message if the pipe has been closed. This is because the transport uses nng_aio_begin (checking for success), but doesn't complete the aio (we need tonotcall the back for SP transpor...