Commit 1d8b132d authored by Ivo Danihelka's avatar Ivo Danihelka

Updated connector open() doc strings.

Signed-off-by: 's avatarIvo Danihelka <ivo@danihelka.net>
parent 6f32361f
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment