On Thu, Sep 29, 2011, Akanksha Shukla wrote:

> Hi All,
> 
> I tried following things:
> 
>  
> 
> 1)      Made socket() system call with AF_INET6 family type.
> 
> 2)      Made connect() system call to get connected to destination address
> using the socket created above.
> 
> 3)      Then made call to Bio_new_socket() and passed the connected socket
> descriptor.
> 
> 4)      Thereafter made call to Bio_set_nbio() and Bio_do_connect() on the
> socket BIO, and this time I got error from the Bio_do_connect() call. 
> 
>  
> 
> Though  I have added diags if Bio_new_socket() call gets failed. But those
> diags were not getting hit. So, I am assuming that step 1 to step 3 are
> working fine. Problem is coming at the time of Bio_do_connect(). 
> 
>  
> 
> Now the next questions which come in my mind are:
> 
>  
> 
> 1)      Bio_set_nbio() and Bio_do_connect() API's are IPv6 compatible?
> 
> 2)      If yes, then what am I missing here because of which I am getting
> error from Bio_do_connect() API?
> 
> 3)      If no, then how can I proceed further because I need to use API
> which are both (IPv6 as well as IPv4) compatible.
> 

What error are you getting? Have you tried exactly the same steps with an IPv4
socket to see if it is a problem with you code and/or not specific to IPv6?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to