You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started with the code in SimpleReceive.cpp, and instead of specifying port
7000, I changed the port specification to IpEndpointName::ANY_PORT, so that the
system automatically chooses an available port.
However, I couldn't find a way to retrieve the actual port number assigned by
the system.
The attached patch provides a UdpSocket::Port() method, which can be called
after Bind() to retrieve the port.
Original issue reported on code.google.com by smokris on 4 Jan 2014 at 9:31
Original issue reported on code.google.com by
smokris
on 4 Jan 2014 at 9:31Attachments:
The text was updated successfully, but these errors were encountered: