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


Manual Reference Pages  -  NN_SURVEY (7)

.ds Aq ’

NAME

nn_survey - survey scalability protocol

CONTENTS

SYNOPSIS

#include <nanomsg/nn.h>

#include <nanomsg/survey.h>

DESCRIPTION

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

    Socket Types

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.

    Socket Options

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

SEE ALSO

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

AUTHORS

Martin Sustrik <\m[blue]sustrik@250bpm.com\m[][1]>

NOTES

1. sustrik@250bpm.com  mailto:sustrik@250bpm.com
Search for    or go to Top of page |  Section 7 |  Main Index


nanomsg Unknown NN_SURVEY (7) 03/17/2016

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