diff options
Diffstat (limited to 'include/Socket.h')
-rw-r--r-- | include/Socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Socket.h b/include/Socket.h index 4c79237..f65c214 100644 --- a/include/Socket.h +++ b/include/Socket.h @@ -17,6 +17,7 @@ class Socket : public Handle { bool Listen(); Socket Accept() throw (GeneralException); bool IsConnected(); + bool IsConnecting(); bool IsListening(); virtual bool CanRead(); virtual bool CanWrite(); @@ -24,6 +25,7 @@ class Socket : public Handle { int GetPort(); void CloseWrite(); void CloseRead(); + bool FinalizeConnect(); protected: virtual ssize_t nwrite(const void *, size_t) throw (GeneralException); virtual ssize_t nread(void *, size_t) throw (GeneralException); @@ -32,7 +34,7 @@ class Socket : public Handle { private: Socket(int s); - bool connected, listening, writeclosed, readclosed; + bool connected, listening, writeclosed, readclosed, connecting; }; #endif |