Bugzilla – Bug 358
calling listen on non-closed TCP sockets sends resets, should fail and do nothing
Last modified: 2008-12-02 00:38:06 EST
Linux's inet_listen returns EINVAL when you call listen on a socket in any state other than SS_UNCONNECTED. The GTNetS port always succeeds on calling listen, and usually sends a reset, or does nothing in response in just a few cases. It should fail with ns-3's ERROR_INVAL and NOT send resets.
Created attachment 290 [details] align listen behavior with linux
is there a reason why this patch is not applied yet ?
This is ready to commit, reassigning to release manager for application.
changeset b2f4788d3db7