~ubuntu-branches/ubuntu/saucy/zeromq3/saucy

« back to all changes in this revision

Viewing changes to doc/zmq_getsockopt.3

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-10-16 19:49:30 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20121016194930-98r0bi746eoaa4iv
Tags: 3.2.1~rc2+dfsg-1
* New upstream RC release (Closes: #690704)
* Bump Standards-Version to 3.9.4 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
'\" t
2
2
.\"     Title: zmq_getsockopt
3
3
.\"    Author: [see the "AUTHORS" section]
4
 
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 06/05/2012
 
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
 
5
.\"      Date: 10/15/2012
6
6
.\"    Manual: 0MQ Manual
7
 
.\"    Source: 0MQ 3.2.0
 
7
.\"    Source: 0MQ 3.2.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "ZMQ_GETSOCKOPT" "3" "06/05/2012" "0MQ 3\&.2\&.0" "0MQ Manual"
 
10
.TH "ZMQ_GETSOCKOPT" "3" "10/15/2012" "0MQ 3\&.2\&.1" "0MQ Manual"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
858
858
T}
859
859
.TE
860
860
.sp 1
861
 
.SS "ZMQ_FD: Retrieve file descriptor associated with the socket"
 
861
.sp
 
862
ZMQ_DELAY_ATTACH_ON_CONNECT
 
863
.sp
 
864
.if n \{\
 
865
.RS 4
 
866
.\}
 
867
.nf
 
868
Retrieve the state of the attach on connect value\&. If set to `1`, will delay the
 
869
attachment of a pipe on connect until the underlying connection has completed\&.
 
870
This will cause the socket to block if there are no other connections, but will
 
871
prevent queues from filling on pipes awaiting connection\&.
 
872
 
 
873
[horizontal]
 
874
Option value type:: int
 
875
Option value unit:: boolean
 
876
Default value:: 0 (false)
 
877
Applicable socket types:: all, primarily when using TCP/IPC transports\&.
 
878
 
 
879
 
 
880
ZMQ_FD: Retrieve file descriptor associated with the socket
 
881
.fi
 
882
.if n \{\
 
883
.RE
 
884
.\}
862
885
.sp
863
886
The \fIZMQ_FD\fR option shall retrieve the file descriptor associated with the specified \fIsocket\fR\&. The returned file descriptor can be used to integrate the socket into an existing event loop; the 0MQ library shall signal any pending events on the socket in an \fIedge\-triggered\fR fashion by making the file descriptor become ready for reading\&.
864
887
.if n \{\