RE: SSL_accept to return new socket

2006-10-24 Thread David Schwartz
> I need a new socket from SSL_accept the same way accept gives me a new > socket, so I have a new socket for each user. How do I do this? With the following very rough (untested, not even compiled) code: int my_SSL_accept(int s, struct sockaddr *addr, socklen_t *addrlen, SSL_CTX *ctx, SSL **s

Re: SSL_accept to return new socket

2006-10-24 Thread Marek Marcola
Hello, > I need a new socket from SSL_accept the same way accept gives me a new > socket, so I have a new socket for each user. How do I do this? SSL_accept() is linking TCP socket (from accept() for example) with SSL object through handshake parameters negotiation. All this happens in applicatio

SSL_accept to return new socket

2006-10-24 Thread Kevin Jenkins
I need a new socket from SSL_accept the same way accept gives me a new socket, so I have a new socket for each user. How do I do this? __ OpenSSL Project http://www.openssl.org User Support Mailin