Implement GetRxAvailable ()

This commit is contained in:
Tom Henderson
2008-05-02 10:55:07 -07:00
parent bfe0533aa3
commit daddd90d07
7 changed files with 59 additions and 8 deletions

View File

@@ -273,7 +273,13 @@ public:
* 0 if the socket cannot return a next in-sequence packet.
*/
Ptr<Packet> Recv (void);
/**
* Return number of bytes which can be returned from one or
* multiple calls to Recv.
* Must be possible to call this method from the Recv callback.
*/
virtual uint32_t GetRxAvailable (void) const = 0;
protected:
void NotifyCloseCompleted (void);
void NotifyConnectionSucceeded (void);