summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspsocket.h11
-rw-r--r--src/inspsocket.cpp4
2 files changed, 0 insertions, 15 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index d33cde5e8..f094701c0 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -406,17 +406,6 @@ class CoreExport BufferedSocket : public EventHandler
*/
virtual bool DoConnect();
- /**
- * This method marks the socket closed.
- * The next time the core examines a socket marked
- * as closed, the socket will be closed and the
- * memory reclaimed.
- *
- * NOTE: This method is DEPRECIATED and will be
- * ignored if called!
- */
- void MarkAsClosed();
-
/** Handle event from EventHandler parent class
*/
void HandleEvent(EventType et, int errornum = 0);
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 41f40dc2b..c6fcf8fd6 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -434,10 +434,6 @@ const char* BufferedSocket::Read()
}
}
-void BufferedSocket::MarkAsClosed()
-{
-}
-
// There are two possible outcomes to this function.
// It will either write all of the data, or an undefined amount.
// If an undefined amount is written the connection has failed