summaryrefslogtreecommitdiff
path: root/include/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Socket.h')
-rw-r--r--include/Socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Socket.h b/include/Socket.h
index a8076e3..b8ea05e 100644
--- a/include/Socket.h
+++ b/include/Socket.h
@@ -22,10 +22,12 @@ class Socket : public Handle {
virtual bool CanWrite();
virtual String GetName();
int GetPort();
+ void CloseWrite();
+ void CloseRead();
private:
Socket(int s);
- bool connected, listening;
+ bool connected, listening, writeclosed, readclosed;
};
#else