mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Fix typos.
This commit is contained in:
parent
afec8440ae
commit
ea011a33de
@ -676,7 +676,7 @@ Option value unit:: N/A
|
||||
Default value:: not set
|
||||
Applicable socket types:: all, when using TCP transport
|
||||
|
||||
ZMQ_IDENTITY_FD: Retrieve FD associated with igven identity
|
||||
ZMQ_IDENTITY_FD: Retrieve FD associated with given identity
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The 'ZMQ_IDENTITY_FD' option shall retrieve the FD associated with given identity.
|
||||
|
@ -23,10 +23,10 @@ CLIENT AND SERVER ROLES
|
||||
A socket using GSSAPI can be either client or server, but not both.
|
||||
|
||||
To become either a GSSAPI client or server, the application sets the
|
||||
ZMQ_GSSAPI_PRINCIPAL option to provide the socket with the name of the pricipal
|
||||
ZMQ_GSSAPI_PRINCIPAL option to provide the socket with the name of the principal
|
||||
for whom GSSAPI credentials should be acquired.
|
||||
|
||||
To become a GSSAPI server, the application addtionally sets the
|
||||
To become a GSSAPI server, the application additionally sets the
|
||||
ZMQ_GSSAPI_SERVER option on the socket.
|
||||
|
||||
To become a GSSAPI client, the application sets additionally sets the
|
||||
|
@ -197,7 +197,7 @@ Applicable socket types:: all, when using TCP transport
|
||||
|
||||
ZMQ_GSSAPI_PRINCIPAL: Set name of GSSAPI principal
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Sets the name of the pricipal for whom GSSAPI credentials should be acquired.
|
||||
Sets the name of the principal for whom GSSAPI credentials should be acquired.
|
||||
|
||||
[horizontal]
|
||||
Option value type:: character string
|
||||
@ -221,7 +221,7 @@ Applicable socket types:: all, when using TCP transport
|
||||
|
||||
ZMQ_GSSAPI_SERVICE_PRINCIPAL: Set name of GSSAPI service principal
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Sets the name of the pricipal of the GSSAPI server to which a GSSAPI client
|
||||
Sets the name of the principal of the GSSAPI server to which a GSSAPI client
|
||||
intends to connect.
|
||||
|
||||
[horizontal]
|
||||
@ -743,7 +743,7 @@ ZMQ_TOS: Set the Type-of-Service on socket
|
||||
Sets the ToS fields (Differentiated services (DS) and Explicit Congestion
|
||||
Notification (ECN) field of the IP header. The ToS field is typically used
|
||||
to specify a packets priority. The availability of this option is dependent
|
||||
on intermediate network equipment that inspect the ToS field andprovide a
|
||||
on intermediate network equipment that inspect the ToS field and provide a
|
||||
path for low-delay, high-throughput, highly-reliable service, etc.
|
||||
|
||||
[horizontal]
|
||||
|
@ -131,7 +131,7 @@ get_monitor_event (void *monitor, int *value, char **address)
|
||||
zmq_msg_t msg;
|
||||
zmq_msg_init (&msg);
|
||||
if (zmq_msg_recv (&msg, monitor, 0) == -1)
|
||||
return -1; // Interruped, presumably
|
||||
return -1; // Interrupted, presumably
|
||||
assert (zmq_msg_more (&msg));
|
||||
|
||||
uint8_t *data = (uint8_t *) zmq_msg_data (&msg);
|
||||
@ -142,7 +142,7 @@ get_monitor_event (void *monitor, int *value, char **address)
|
||||
// Second frame in message contains event address
|
||||
zmq_msg_init (&msg);
|
||||
if (zmq_msg_recv (&msg, monitor, 0) == -1)
|
||||
return -1; // Interruped, presumably
|
||||
return -1; // Interrupted, presumably
|
||||
assert (!zmq_msg_more (&msg));
|
||||
|
||||
if (address) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user