Bugzilla – Bug 364
how do I know if Socket::SetSendCallback works ?
Last modified: 2008-10-27 12:59:19 UTC
that callback will be inoperative on udp sockets. How do I know this ?
Socket::SetSendCallback should be functional for UDP sockets IMHO. Why would it be hard to implement for UDP sockets? If the implementation knows no better, just call this callback unconditionally after each Send () (preferably via Simulator::Schedule to avoid recursion).
I agree with Gustavo and seem to recall we discussed and agreed on this behavior back when the socket API was redone.
Created attachment 270 [details] proposed patch
changeset 362d7e1c12a6