diff options
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index db95b852e..abfd0d51d 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -229,6 +229,11 @@ void InspSocket::SetState(InspSocketState s) this->state = s; } +InspSocketState InspSocket::GetState() +{ + return this->state; +} + bool InspSocket::OnConnected() { return true; } void InspSocket::OnError(InspSocketError e) { return; } int InspSocket::OnDisconnect() { return 0; } |