summaryrefslogtreecommitdiff
path: root/src/ip.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2010-01-22 13:13:52 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2010-01-22 13:13:52 +0100
commit34d65e22c557671c74d6c51026b2434912966319 (patch)
tree40ab3deb545cce189544e7b64d26f784f1d6f6c8 /src/ip.hpp
parent6edec4fe93c60693a5faee7e4e8821eac4f43d4d (diff)
Tero Marttila's Ipv6 patch - part I.
Diffstat (limited to 'src/ip.hpp')
-rw-r--r--src/ip.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ip.hpp b/src/ip.hpp
index 16c1f62..0144546 100644
--- a/src/ip.hpp
+++ b/src/ip.hpp
@@ -41,15 +41,15 @@ namespace zmq
// Resolves network interface name in <nic-name>:<port> format. Symbol "*"
// (asterisk) resolves to INADDR_ANY (all network interfaces).
- int resolve_ip_interface (sockaddr_in* addr_, char const *interface_);
+ int resolve_ip_interface (sockaddr_storage *addr_, char const *interface_);
// This function resolves a string in <hostname>:<port-number> format.
// Hostname can be either the name of the host or its IP address.
- int resolve_ip_hostname (sockaddr_in *addr_, const char *hostname_);
+ int resolve_ip_hostname (sockaddr_storage *addr_, const char *hostname_);
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
// This function sets up the sockaddr_un structure with the pathname_
- int resolve_local_path( sockaddr_un * addr_, const char* pathname_);
+ int resolve_local_path (sockaddr_un *addr_, const char* pathname_);
#endif
}