summaryrefslogtreecommitdiff
path: root/src/tcp_listener.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-29 09:41:50 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-29 09:41:50 +0200
commit6996ef6f1a0a50a754608df9444e425d0900b143 (patch)
tree334a30e95fd68fa46e8536eece55c5fdd7dda15e /src/tcp_listener.hpp
parentcb09c6951e2c4405318b422a1f9213af3e4b6b8a (diff)
improved error handling
Diffstat (limited to 'src/tcp_listener.hpp')
-rw-r--r--src/tcp_listener.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tcp_listener.hpp b/src/tcp_listener.hpp
index 2a8bc23..62498dc 100644
--- a/src/tcp_listener.hpp
+++ b/src/tcp_listener.hpp
@@ -35,14 +35,11 @@ namespace zmq
tcp_listener_t ();
~tcp_listener_t ();
- // Set up the address to listen on. Address is in
+ // Start listening on the interface. Address is in
// <interface-name>:<port-number> format. Interface name may be '*'
// to bind to all the interfaces.
int set_address (const char *addr_);
- // Open TCP listining socket.
- int open ();
-
// Close the listening socket.
int close ();