summaryrefslogtreecommitdiff
path: root/includes/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Socket.h')
-rw-r--r--includes/Socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Socket.h b/includes/Socket.h
index a19b1e2..77e1165 100644
--- a/includes/Socket.h
+++ b/includes/Socket.h
@@ -29,6 +29,8 @@ class Socket : public Handle {
bool setLocal(const char * hostname = NULL, int port = 0);
bool connect(const char * hostname, int port);
+ bool gotR() { return m_evtR->gotSignal(); }
+ bool gotW() { return m_evtW->gotSignal(); }
IO<Socket> accept() throw (GeneralException);
bool listen();
private: