mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
Adding ZMQ_LAST_ENDPOINT for wildcard support on TCP and IPC sockets
This commit is contained in:
@@ -44,6 +44,9 @@ namespace zmq
|
||||
|
||||
// Set address to listen on.
|
||||
int set_address (const char *addr_);
|
||||
|
||||
// Get the bound address for use with wildcards
|
||||
int get_address(unsigned char *addr, size_t *len);
|
||||
|
||||
private:
|
||||
|
||||
@@ -64,6 +67,10 @@ namespace zmq
|
||||
|
||||
// Address to listen on.
|
||||
tcp_address_t address;
|
||||
|
||||
// Store the connected endpoint for binds to port 0
|
||||
char bound_addr[256];
|
||||
size_t bound_addr_len;
|
||||
|
||||
// True, if the undelying file for UNIX domain socket exists.
|
||||
bool has_file;
|
||||
|
||||
Reference in New Issue
Block a user