From b6ecb00d23af3611da98d98f28e1c2583d428e00 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 18 Aug 2011 17:40:42 +0200 Subject: TCP address related functionality moved to tcp_address_t Signed-off-by: Martin Sustrik --- src/tcp_listener.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/tcp_listener.hpp') diff --git a/src/tcp_listener.hpp b/src/tcp_listener.hpp index 69fde37..60713e3 100644 --- a/src/tcp_listener.hpp +++ b/src/tcp_listener.hpp @@ -22,10 +22,10 @@ #define __ZMQ_TCP_LISTENER_HPP_INCLUDED__ #include "fd.hpp" -#include "ip.hpp" #include "own.hpp" -#include "io_object.hpp" #include "stdint.hpp" +#include "io_object.hpp" +#include "tcp_address.hpp" namespace zmq { @@ -59,8 +59,7 @@ namespace zmq fd_t accept (); // Address to listen on. - sockaddr_storage addr; - socklen_t addr_len; + tcp_address_t address; // True, if the undelying file for UNIX domain socket exists. bool has_file; -- cgit v1.2.3