summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index f148b8e34..4d4b44587 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -57,6 +57,7 @@ public:
virtual int Write(std::string data);
virtual int OnIncomingConnection(int newfd, char* ip);
void SetState(InspSocketState s);
+ InspSocketState GetState();
bool Poll();
virtual void Close();
virtual ~InspSocket();