show send buffer size

This commit is contained in:
orignal 2015-01-30 21:41:32 -05:00
parent 618abd6320
commit 908404ab62
2 changed files with 2 additions and 0 deletions

View file

@ -115,6 +115,7 @@ namespace stream
size_t GetNumReceivedBytes () const { return m_NumReceivedBytes; };
size_t GetSendQueueSize () const { return m_SentPackets.size (); };
size_t GetReceiveQueueSize () const { return m_ReceiveQueue.size (); };
size_t GetSendBufferSize () const { return m_SendBuffer.rdbuf ()->in_avail (); };
private: