mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-23 07:12:47 +01:00
Updated connector open() doc strings.
Signed-off-by: Ivo Danihelka <ivo@danihelka.net>
This commit is contained in:
parent
6f32361fea
commit
1d8b132d36
@ -126,7 +126,7 @@ void zmq::ipc_connecter_t::start_connecting ()
|
||||
return;
|
||||
}
|
||||
|
||||
// Connection establishment may be dealyed. Poll for its completion.
|
||||
// Connection establishment may be delayed. Poll for its completion.
|
||||
else if (rc == -1 && errno == EAGAIN) {
|
||||
handle = add_fd (s);
|
||||
handle_valid = true;
|
||||
|
@ -75,9 +75,9 @@ namespace zmq
|
||||
// Set address to connect to.
|
||||
int set_address (const char *addr_);
|
||||
|
||||
// Open TCP connecting socket. Returns -1 in case of error,
|
||||
// 0 if connect was successfull immediately and 1 if async connect
|
||||
// was launched.
|
||||
// Open IPC connecting socket. Returns -1 in case of error,
|
||||
// 0 if connect was successfull immediately. Returns -1 with
|
||||
// EAGAIN errno if async connect was launched.
|
||||
int open ();
|
||||
|
||||
// Close the connecting socket.
|
||||
|
@ -137,7 +137,7 @@ void zmq::tcp_connecter_t::start_connecting ()
|
||||
return;
|
||||
}
|
||||
|
||||
// Connection establishment may be dealyed. Poll for its completion.
|
||||
// Connection establishment may be delayed. Poll for its completion.
|
||||
else if (rc == -1 && errno == EAGAIN) {
|
||||
handle = add_fd (s);
|
||||
handle_valid = true;
|
||||
|
@ -73,8 +73,8 @@ namespace zmq
|
||||
int set_address (const char *addr_);
|
||||
|
||||
// Open TCP connecting socket. Returns -1 in case of error,
|
||||
// 0 if connect was successfull immediately and 1 if async connect
|
||||
// was launched.
|
||||
// 0 if connect was successfull immediately. Returns -1 with
|
||||
// EAGAIN errno if async connect was launched.
|
||||
int open ();
|
||||
|
||||
// Close the connecting socket.
|
||||
|
Loading…
x
Reference in New Issue
Block a user