improved error handling

This commit is contained in:
Martin Sustrik
2009-08-29 09:41:50 +02:00
parent cb09c6951e
commit 6996ef6f1a
5 changed files with 61 additions and 87 deletions

View File

@@ -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 ();