From f9f25ccc2b4a365edc00d922a2aa056cca7fe861 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Thu, 16 Feb 2012 10:03:02 +0900 Subject: Allow to set up a source address for outgoing connections in zmq_connect() Signed-off-by: Sergey Matveychuk Signed-off-by: Martin Sustrik --- src/tcp_address.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tcp_address.hpp') 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 (); -- cgit v1.2.3