method
accept_nonblock
v1_9_3_392 -
Show latest stable
- Class:
OpenSSL::SSL::SSLSocket
accept_nonblock()public
Initiates the SSL/TLS handshake as a server in non-blocking manner.
# emulates blocking accept begin ssl.accept_nonblock rescue IO::WaitReadable IO.select([s2]) retry rescue IO::WaitWritable IO.select(nil, [s2]) retry end