diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-08-18 17:40:42 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-08-18 17:40:42 +0200 |
commit | b6ecb00d23af3611da98d98f28e1c2583d428e00 (patch) | |
tree | 7130ed6e4c2d62fc151170f465c5245d5072b062 /src/tcp_connecter.hpp | |
parent | 4a8dd1e404c78fb403763d830190755d2ac83228 (diff) |
TCP address related functionality moved to tcp_address_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/tcp_connecter.hpp')
-rw-r--r-- | src/tcp_connecter.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
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; |