Hi, I'm building a client-server using openssl. My first approach was using TCP sockets to get the connection (as in this brief example):
sock= tcp_connect(host, port) sbio = BIO_new_socket(sock, BIO_NOCLOSE) SSL_set_bio (ssl, sbio, sbio) SSL_connect(ssl) Now I have to work with it on a LWIP platform, so instead of tcp sockets I have "tcp pcbs". I have a function that creates a pcb, binds it to an IP address and port number and listen for connection, but my problem is then, how to use the SSl_connect() to make the SSL handshake with the peer ...(how to connect my "pcb" with "ssl") 'cause now I guess I can't use BIO_new_socket Vice versa, I have this problem with SSL_accept(ssl) I would really thank any help or idea you can give me Many thanks in advance ANA ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
