Re: socket functions on fds

2012-01-08 Thread Jakob Bohm
al message exchange; both SSL_read() and SSL_write() will try to continue any pending handshake. Thanks! - Original Message - From: Nathan Smyth To: "openssl-users@openssl.org" Cc: Sent: Sunday, 8 January 2012, 22:45 Subject: Re: socket functions on fds Pay special atte

Re: socket functions on fds

2012-01-08 Thread Nathan Smyth
iring a bi-directional message exchange; both SSL_read() and SSL_write() will try to continue any pending handshake.  Thanks! - Original Message - From: Nathan Smyth To: "openssl-users@openssl.org" Cc: Sent: Sunday, 8 January 2012, 22:45 Subject: Re: socket functions on fd

Re: socket functions on fds

2012-01-08 Thread Nathan Smyth
>Pay special attention to the fact that sometimes an OpenSSL >call to send or recv will ask you to wait (select) for it's own >direction to be ready, sometimes for the other direction to be >ready, depending on internal OpenSSL states.  Selects before the SSL_read/writes? Any chance of a link t

Re: socket functions on fds

2012-01-05 Thread Michael Smith
On Thu, 5 Jan 2012 13:45:33 + (GMT) Nathan Smyth wrote: > Can you use the standard socket functions (i.e. poll/select) on a fd > for a ssl connection? > I know you need to use the ssl_read/writes and other functions etc > to actually 'do stuff', but do the std socket state checking > funct

Re: socket functions on fds

2012-01-05 Thread Jakob Bohm
On 1/5/2012 3:42 PM, Jakob Bohm wrote: On 1/5/2012 2:45 PM, Nathan Smyth wrote: Quick question. Can you use the standard socket functions (i.e. poll/select) on a fd for a ssl connection? I know you need to use the ssl_read/writes and other functions etc to actually 'do stuff', but do the std

RES: socket functions on fds

2012-01-05 Thread Leonardo
12:43 Para: openssl-users@openssl.org Assunto: Re: socket functions on fds On 1/5/2012 2:45 PM, Nathan Smyth wrote: > Quick question. > > Can you use the standard socket functions (i.e. poll/select) on a fd for a > ssl connection? > I know you need to use the ssl_read/writes and other functio

Re: socket functions on fds

2012-01-05 Thread Jakob Bohm
On 1/5/2012 2:45 PM, Nathan Smyth wrote: Quick question. Can you use the standard socket functions (i.e. poll/select) on a fd for a ssl connection? I know you need to use the ssl_read/writes and other functions etc to actually 'do stuff', but do the std socket state checking functions work on

socket functions on fds

2012-01-05 Thread Nathan Smyth
Quick question. Can you use the standard socket functions (i.e. poll/select) on a fd for a ssl connection? I know you need to use the ssl_read/writes and other functions etc to actually 'do stuff', but do the std socket state checking functions work on a socket that has SSL initiated? Thanks!!