On Wed, Mar 30, 2005, David Brock wrote:

> I'm fairly new to openSSL so forgive me if this is a silly question. Is 
> it possible to create a Unix Domain Socket and then attach it to a BIO 
> (using BIO_set_fd)? I have tried to do it (for a server), but I keep 
> getting a failure when I call BIO_do_accept(). Is there something I am 
> missing, or can I only use AF_INET sockets with BIOs?
> 

You can only use an AF_INET socket with accept and connect BIOs because the
socket creation and address handling only supports that type.

If however you handle the addressing and connect/accept yourself and create a
socket BIO from the connected socket it should work.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to