diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspsocket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h index 72fb03d58..7b913ec56 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -228,6 +228,12 @@ class CoreExport StreamSocket : public EventHandler */ void DoRead(); + /** Send as much data contained in a SendQueue object as possible. + * All data which successfully sent will be removed from the SendQueue. + * @param sq SendQueue to flush + */ + void FlushSendQ(SendQueue& sq); + protected: std::string recvq; public: |