Bug 357 - Socket::Listen takes a queueLimit argument but it can't be used
Socket::Listen takes a queueLimit argument but it can't be used
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: network
pre-release
All All
: P3 normal
Assigned To: Craig Dowell
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-19 13:21 UTC by Mathieu Lacage
Modified: 2008-10-23 14:14 UTC (History)
1 user (show)

See Also:


Attachments
proposed patch (5.46 KB, patch)
2008-10-20 03:25 UTC, Mathieu Lacage
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2008-09-19 13:21:56 UTC
 
Comment 1 Mathieu Lacage 2008-09-19 13:23:13 UTC
the reason this argument can't be used is that the socket API uses accept callbacks so, it is the application which is responsible for buffering incoming connection requests, not the Socket implementation.

I would like to remove the queueLimit argument of the listen call.
Comment 2 Mathieu Lacage 2008-10-20 03:25:06 UTC
Created attachment 269 [details]
proposed patch