summaryrefslogtreecommitdiff
path: root/src/ipc_listener.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-18 11:08:22 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-18 11:08:22 +0200
commitb01a8e17511b57191c4aec4d741bdf3b3a80efc6 (patch)
treece7b5589954c72cca6652f7babd051b62d12aefb /src/ipc_listener.hpp
parent3488af048f336867594330d4abd0ad6dab110ea0 (diff)
IPC address related functionality refactored into ipc_address_t class
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/ipc_listener.hpp')
-rw-r--r--src/ipc_listener.hpp12
1 files changed, 6 insertions, 6 deletions
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 <string>
+
#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;