Implementations of TCP and IPC transports separated

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-07-28 13:19:55 +02:00
parent 6e987428d4
commit 5ac63140b0
11 changed files with 1008 additions and 45 deletions

View File

@@ -38,7 +38,7 @@ namespace zmq
// connection process.
tcp_connecter_t (class io_thread_t *io_thread_,
class session_t *session_, const options_t &options_,
const char *protocol_, const char *address_, bool delay_);
const char *address_, bool delay_);
~tcp_connecter_t ();
private:
@@ -66,7 +66,7 @@ namespace zmq
int get_new_reconnect_ivl ();
// Set address to connect to.
int set_address (const char *protocol, const char *addr_);
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