Let the kernel choose the port (ephemeral port)

2006-04-12 Thread Robert Stober
ost_connection_check(ssl, CLIENT)) != X509_V_OK) log_error("Client certificate failed post-connection checks: %s\n", X509_verify_cert_error_string(lngErr)); else logInfo("Client certificate passed all post-connecton checks\n"); logIn

BIO_new_accept: How to set ephemeral port and then get port number?

2006-04-12 Thread Robert Stober
s. 1. If I pass the integer '0' into BIO_new_accept, will I get an ephemeral port when I bind the connection? If not how can I do this? 2. Once I get an ephemeral port, how can I find out what port was assigned? Thank you, Robert Robert Stober Senior Systems Engineer Platform

Problem connecting using SSL_connect

2006-04-05 Thread Robert Stober
anyone see any problems here? Probably something obvious that I'm missing? One more thing - the client is invoked up to one second before the server is invoked. Perhaps the client is attempting to connect before the server is ready? I tried the following but it never connected: if (SSL_connec