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_connecter.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/tcp_connecter.hpp') diff --git a/src/tcp_connecter.hpp b/src/tcp_connecter.hpp index b5b39e8..17f8a70 100644 --- a/src/tcp_connecter.hpp +++ b/src/tcp_connecter.hpp @@ -22,10 +22,10 @@ #define __TCP_CONNECTER_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 { @@ -81,8 +81,7 @@ namespace zmq fd_t connect (); // Address to connect to. - sockaddr_storage addr; - socklen_t addr_len; + tcp_address_t address; // Underlying socket. fd_t s; -- cgit v1.2.3