equal
deleted
inserted
replaced
261 * \returns Ptr<Packet> of the next in-sequence packet. Returns |
261 * \returns Ptr<Packet> of the next in-sequence packet. Returns |
262 * 0 if the socket cannot return a next in-sequence packet conforming |
262 * 0 if the socket cannot return a next in-sequence packet conforming |
263 * to the maxSize and flags. |
263 * to the maxSize and flags. |
264 */ |
264 */ |
265 virtual Ptr<Packet> Recv (uint32_t maxSize, uint32_t flags) = 0; |
265 virtual Ptr<Packet> Recv (uint32_t maxSize, uint32_t flags) = 0; |
|
266 /** |
|
267 * \brief Read a single packet from the socket |
|
268 * |
|
269 * Overloaded version of Recv(maxSize, flags) with maxSize |
|
270 * implicitly set to maximum sized integer, and flags set to zero. |
|
271 * |
|
272 * \returns Ptr<Packet> of the next in-sequence packet. Returns |
|
273 * 0 if the socket cannot return a next in-sequence packet. |
|
274 */ |
|
275 Ptr<Packet> Recv (void); |
266 |
276 |
267 protected: |
277 protected: |
268 void NotifyCloseCompleted (void); |
278 void NotifyCloseCompleted (void); |
269 void NotifyConnectionSucceeded (void); |
279 void NotifyConnectionSucceeded (void); |
270 void NotifyConnectionFailed (void); |
280 void NotifyConnectionFailed (void); |