Updated connector open() doc strings.

Signed-off-by: Ivo Danihelka <ivo@danihelka.net>
This commit is contained in:
Ivo Danihelka 2011-12-21 16:21:55 +01:00
parent 6f32361fea
commit 1d8b132d36
4 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

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

View File

@ -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;

View File

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