summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:28 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:28 +0900
commit290705f05fb84088c6da1448223cbb32d5e5b200 (patch)
tree45f571a54cc1f8fa6dc570ce88f0d5cbdf3bf77f /src/tcp_connecter.hpp
parent858b8ad76757624464c139be2367f0dce53f8c3b (diff)
handle_valid removed from tcp_connecter_t and ipc_connecter_t
Invalid handle is now specified as handle == NULL Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/tcp_connecter.hpp')
-rw-r--r--src/tcp_connecter.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tcp_connecter.hpp b/src/tcp_connecter.hpp
index b86c2d5..7164fa2 100644
--- a/src/tcp_connecter.hpp
+++ b/src/tcp_connecter.hpp
@@ -90,13 +90,10 @@ namespace xs
// Underlying socket.
fd_t s;
- // Handle corresponding to the listening socket.
+ // Handle corresponding to the listening socket or NULL if the socket
+ // is not registered with the poller.
handle_t handle;
- // If true file descriptor is registered with the poller and 'handle'
- // contains valid value.
- bool handle_valid;
-
// If true, connecter is waiting a while before trying to connect.
bool wait;