nn_reqrep - request/reply scalability protocol
#include <nanomsg/nn.h>
#include <nanomsg/reqrep.h>
This protocol is used to distribute the workload among multiple stateless workers.
Used to implement the client application that sends requests and receives replies.
Used to implement the stateless worker that receives requests and sends replies.
This option is defined on the full REQ socket. If reply is not received in specified amount of milliseconds, the request will be automatically resent. The type of this option is int. Default value is 60000 (1 minute).
Martin Sustrik <sustrik@250bpm.com>