mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-09 15:53:59 +01:00
Send identities when connecting pending sockets.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user