Dror Shilo wrote:
In apr version 1.0.1 the function

apr_sockaddr_port_get was removed.

So if you bind to port 0 , and after the bind you have to find the port that was peeked . how you can do it ?

Well, all apr_sockaddr_port_get did was return the 'port' field in the sockaddr. If all you want is the same behavior apr_sockaddr_port_get used to have you can just grab that value, although honestly I'm not sure that it will have the correct value after a bind to port 0, so what you're asking for may never have worked.


-garrett

Reply via email to