diff options
author | Sergey Matveychuk <sem33@yandex-team.ru> | 2012-02-16 10:03:02 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:03:02 +0900 |
commit | f9f25ccc2b4a365edc00d922a2aa056cca7fe861 (patch) | |
tree | 5fb03cec4eab12a7cdc8623f38aaba563320b034 /src/tcp_address.hpp | |
parent | c71e11bed498926efdcdf022bc560a350e45251c (diff) |
Allow to set up a source address for outgoing connections in zmq_connect()
Signed-off-by: Sergey Matveychuk <sem33@yandex-team.ru>
Signed-off-by: Martin Sustrik <sustik@250bpm.com>
Diffstat (limited to 'src/tcp_address.hpp')
-rw-r--r-- | src/tcp_address.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tcp_address.hpp b/src/tcp_address.hpp index 683f30f..4730cd7 100644 --- a/src/tcp_address.hpp +++ b/src/tcp_address.hpp @@ -45,7 +45,8 @@ namespace xs // strcuture. If 'local' is true, names are resolved as local interface // names. If it is false, names are resolved as remote hostnames. // If 'ipv4only' is true, the name will never resolve to IPv6 address. - int resolve (const char* name_, bool local_, bool ipv4only_); + int resolve (const char* name_, bool local_, bool ipv4only_, + bool ignore_port_=false); #if defined XS_HAVE_WINDOWS unsigned short family (); |