GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NN_SURVEY(7) nanomsg 1.1.5 NN_SURVEY(7)

nn_survey - survey scalability protocol

#include <nanomsg/nn.h>
#include <nanomsg/survey.h>

Allows to broadcast a survey to multiple locations and gather the responses.

NN_SURVEYOR
Used to send the survey. The survey is delivered to all the connected respondents. Once the query is sent, the socket can be used to receive the responses. When the survey deadline expires, receive will return ETIMEDOUT error.
NN_RESPONDENT
Use to respond to the survey. Survey is received using receive function, response is sent using send function. This socket can be connected to at most one peer.

NN_SURVEYOR_DEADLINE
Specifies how long to wait for responses to the survey. Once the deadline expires, receive function will return ETIMEDOUT error and all subsequent responses to the survey will be silently dropped. The deadline is measured in milliseconds. Option type is int. Default value is 1000 (1 second).

nn_bus(7) nn_pubsub(7) nn_reqrep(7) nn_pipeline(7) nn_pair(7) nanomsg(7)

Martin <sustrik@250bpm.com>Sustrik
2018-10-15  

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.