Re: find the bind port in apr version 1.0.1

2004-12-22 Thread Jeff Trawick
On Wed, 22 Dec 2004 20:54:23 +0200, Dror Shilo <[EMAIL PROTECTED]> 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 ? You need to call apr_

Re: find the bind port in apr version 1.0.1

2004-12-22 Thread Garrett Rooney
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

find the bind port in apr version 1.0.1

2004-12-22 Thread Dror Shilo
Title: find the bind port in apr version 1.0.1 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 ? Best regards