diff options
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 (); |