overloaded Recv() method suggested by Gustavo

This commit is contained in:
Tom Henderson committed 2008-05-02 09:38:18 -07:00
1 parent f8a2add627
commit bfe0533aa3
8 files changed
+22 -18

No files matched your search

+6
View File
@@ -107,6 +107,12 @@ int Socket::Send (const uint8_t* buf, uint32_t size)
return Send (p);
}
Ptr<Packet>
Socket::Recv (void)
{
return Recv (std::numeric_limits<uint32_t>::max(), 0);
}
int Socket::SendTo (const Address &address, const uint8_t* buf, uint32_t size)
{
NS_LOG_FUNCTION_NOARGS ();