From b01a8e17511b57191c4aec4d741bdf3b3a80efc6 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 18 Aug 2011 11:08:22 +0200 Subject: IPC address related functionality refactored into ipc_address_t class Signed-off-by: Martin Sustrik --- src/ipc_listener.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/ipc_listener.hpp') diff --git a/src/ipc_listener.hpp b/src/ipc_listener.hpp index ce1e20d..4cd881b 100644 --- a/src/ipc_listener.hpp +++ b/src/ipc_listener.hpp @@ -25,11 +25,12 @@ #if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS +#include + #include "fd.hpp" -#include "ip.hpp" #include "own.hpp" -#include "io_object.hpp" #include "stdint.hpp" +#include "io_object.hpp" namespace zmq { @@ -62,13 +63,12 @@ namespace zmq // if the connection was dropped while waiting in the listen backlog. fd_t accept (); - // Address to listen on. - sockaddr_storage addr; - socklen_t addr_len; - // True, if the undelying file for UNIX domain socket exists. bool has_file; + // Name of the file associated with the UNIX domain address. + std::string filename; + // Underlying socket. fd_t s; -- cgit v1.2.3