Send identities when connecting pending sockets.

This commit is contained in:
Richard Newton
2013-09-12 21:07:29 +01:00
parent 7c3496a76a
commit 379bcb0881
6 changed files with 102 additions and 22 deletions

View File

@@ -53,8 +53,9 @@ namespace zmq
struct pending_connection_t
{
socket_base_t *socket;
pipe_t* pipe;
endpoint_t endpoint;
pipe_t* connect_pipe;
pipe_t* bind_pipe;
};
// Context object encapsulates all the global state associated with
@@ -108,7 +109,7 @@ namespace zmq
int register_endpoint (const char *addr_, endpoint_t &endpoint_);
void unregister_endpoints (zmq::socket_base_t *socket_);
endpoint_t find_endpoint (const char *addr_);
void pend_connection (const char *addr_, const pending_connection_t &pending_connection_);
void pend_connection (const char *addr_, pending_connection_t &pending_connection_);
void connect_pending (const char *addr_, zmq::socket_base_t *bind_socket_);
enum {