inet icon indicating copy to clipboard operation
inet copied to clipboard

UDPSocket should allow binding to port 0

Open rhornig opened this issue 10 years ago • 1 comments

We're using the following in both of the bind methods: if (lPort == 0) { auto udp = check_and_cast<UDP*>(gateToUdp->getPathEndGate()->getOwnerModule()); lPort = udp->getEphemeralPort(); }

from: http://dev.omnetpp.org/bugs/view.php?id=372

rhornig avatar Mar 13 '15 17:03 rhornig

Related to #130

rhornig avatar Jun 19 '15 13:06 rhornig