[Ns-bugs] [Bug 311] Tcp socket close returns -1 but does not set errno.

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Sep 4 13:09:55 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=311





------- Comment #1 from mathieu.lacage at sophia.inria.fr  2008-09-04 16:09 -------
I should have pointed out that, if the purpose is to guard against a
double-close, then, the socket should not be initialized to CLOSED state in the
TcpSocketImpl constructor because this would trigger an EBADF upon closing a
socket which was just opened.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list