diff options
-rw-r--r-- | include/inspsocket.h | 7 | ||||
-rw-r--r-- | src/inspsocket.cpp | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h index f0f0e1484..f61bf133d 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -336,13 +336,6 @@ class CoreExport BufferedSocket : public EventHandler bool Poll(); /** - * This method returns the socket's file descriptor - * as assigned by the operating system, or -1 - * if no descriptor has been assigned. - */ - int GetFd(); - - /** * This method causes the socket to close, and may * also be triggered by other methods such as OnTimeout * and OnError. diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index d4f6c9c17..0c3f3ea17 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -591,11 +591,6 @@ BufferedSocketState BufferedSocket::GetState() return this->state; } -int BufferedSocket::GetFd() -{ - return this->fd; -} - bool BufferedSocket::OnConnected() { return true; } void BufferedSocket::OnError(BufferedSocketError) { return; } int BufferedSocket::OnDisconnect() { return 0; } |