diff options
Diffstat (limited to 'src/zmq_connecter.hpp')
-rw-r--r-- | src/zmq_connecter.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/zmq_connecter.hpp b/src/zmq_connecter.hpp index c3a42a9..328dd6a 100644 --- a/src/zmq_connecter.hpp +++ b/src/zmq_connecter.hpp @@ -39,8 +39,8 @@ namespace zmq const options_t &options_, uint64_t session_ordinal_, bool wait_); ~zmq_connecter_t (); - // Set IP address to connect to. - int set_address (const char *address_); + // Set address to connect to. + int set_address (const char *protocol_, const char *address_); private: @@ -75,7 +75,8 @@ namespace zmq // Associated socket options. options_t options; - // Address to connect to. + // Protocol and address to connect to. + std::string protocol; std::string address; zmq_connecter_t (const zmq_connecter_t&); |