diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-15 14:11:39 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-15 14:11:39 +0100 |
commit | 2bb57ac57ace37203c505ff17147210feca34d73 (patch) | |
tree | f28f6479436fa59101228cb5b3050948ff010ab3 /src/ip.hpp | |
parent | 56c369272c279224562d11b0a66590ac7826f4f3 (diff) |
ZMQII-39: Implement IPC transport
Diffstat (limited to 'src/ip.hpp')
-rw-r--r-- | src/ip.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -32,6 +32,10 @@ #include <netdb.h> #endif +#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS +#include <sys/un.h> +#endif + namespace zmq { @@ -42,6 +46,11 @@ namespace zmq // 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_); + +#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_); +#endif } #endif |