bug 203: Listen must be implemented for Udp and Packet sockets.

This commit is contained in:
Mathieu Lacage
2008-06-04 09:19:16 -07:00
parent 8b7d6955e6
commit 92f2ed110a
6 changed files with 19 additions and 8 deletions

View File

@@ -220,6 +220,12 @@ PacketSocket::Connect(const Address &ad)
NotifyConnectionFailed ();
return -1;
}
int
PacketSocket::Listen(uint32_t queueLimit)
{
m_errno = Socket::ERROR_OPNOTSUPP;
return -1;
}
int
PacketSocket::Send (Ptr<Packet> p)