> From: owner-openssl-us...@openssl.org Dr. Stephen Henson
> Sent: Tuesday, 20 October, 2009 09:15

> On Tue, Oct 20, 2009, Daniel Marschall wrote:

> > 18758:error:02006062:system library:bind:Address already in
> > use:b_sock.c:685:port='8888'
> > 18758:error:20069075:BIO 
> routines:BIO_get_accept_socket:unable to bind
> > socket:b_sock.c:687:

> > 2) Why is the port 8888 blocked now? How can I undo it?
> 
> Wait a while, this is fairly standard behaviour on some OSes.
> 
Usually one to five minutes. This is a TCP feature(?) dating back 
to the days of 1200-baud phone lines with frequent error bursts
and numerous hops through congested minicomputer routers, when 
the 'maximum diameter' of the Internet could be pretty large.
You can usually see them as TIME_WAIT in netstat or similar.

Or use setsockopt(,,SO_REUSEADDR,&1,). In this case using BIO 
it appears to me to be BIO_ctrl(,BIO_C_SET_BIND_MODE,) 1 or 2.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to