From d440c3f50a918a932293ad98bcec96eaa4683222 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 4 Dec 2011 01:19:09 -0800 Subject: Reworked some things in the architecture, mainly exceptions and asserts. -) Removed Assert() -) Added AAssert(), IAssert(), RAssert(), TAssert() and Failure() -) Reworked all asserts in the code, and added meaningful messages to them. -) Changed the way the startup code is generated; BALAU_STARTUP is no longer necessary. --- includes/Socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/Socket.h') 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 accept() throw (GeneralException); bool listen(); private: -- cgit v1.2.3