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

This commit is contained in:
Mathieu Lacage committed 2008-06-04 09:19:16 -07:00
1 parent 8b7d6955e6
commit 92f2ed110a
6 files changed
+19 -8

No files matched your search

+3
View File
@@ -71,6 +71,8 @@ class PacketSocketAddress;
* The fields "physical address", device, and protocol are filled.
*
* - Accept: not allowed
*
* - Listen: returns -1 (OPNOTSUPP)
*/
class PacketSocket : public Socket
{
@@ -90,6 +92,7 @@ public:
virtual int ShutdownSend (void);
virtual int ShutdownRecv (void);
virtual int Connect(const Address &address);
virtual int Listen(uint32_t queueLimit);
virtual int Send (Ptr<Packet> p);
virtual uint32_t GetTxAvailable (void) const;