Implement GetRxAvailable ()

This commit is contained in:
Tom Henderson committed 2008-05-02 10:55:07 -07:00
1 parent bfe0533aa3
commit daddd90d07
7 files changed
+59 -8

No files matched your search

+7 -1
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);