nanomsg
Home Download Documentation Development Community Support
NOTE: This documentation is for version 0.1-alpha of nanomsg, but the latest released version is 1.1.5. Please see the documentation for 1.1.5 for the most up-to-date information.
nn_reqrep(7)

SYNOPSIS

#include <nanomsg/nn.h>

#include <nanomsg/reprep.h>

DESCRIPTION

This protocol is used to distribute the workload among multiple stateless workers.

Socket Types

NN_REQ

Used to implement the client application that sends requests and receives replies.

NN_REP

Used to implement the stateless worker that receives requests and sends replies.

Socket Options

NN_REQ_RESEND_IVL

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).

SEE ALSO

AUTHORS

Martin Sustrik <sustrik@250bpm.com>


"nanomsg" is a trademark of Garrett D'Amore.