diff options
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; |