[Ns-bugs] [Bug 1201] UDP sockets need to set connected state before notifying the ConnectionSucceeded callback
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Tue Jun 28 11:14:35 PDT 2011
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1201
smarotta at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smarotta at gmail.com
--- Comment #3 from smarotta at gmail.com 2011-06-28 14:14:35 EDT ---
(In reply to comment #1)
> I don't see any drawbacks and any reason we shouldn't do it. After all if the
> user will check the connection state right in the Notify (kinda stupid imho,
> but they could), they'd find it not yet connected.
>
> So for consistency it seems quite reasonable.
>
> +1
It's not just for consistency. If you try to send data on a Socket whose
m_connected is false, it doesn't work.
--
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list