bug 203: Listen must be implemented for Udp and Packet sockets.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user