1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rdoc update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-03-21 08:08:52 +00:00
parent 7fd155cf0f
commit 5bdeb55a02

View file

@ -1096,6 +1096,20 @@ ossl_ssl_connect(VALUE self)
/*
* call-seq:
* ssl.connect_nonblock => self
*
* initiate the TLS/SSL handshake as a client in non-blocking manner.
*
* # emulates blocking connect
* begin
* ssl.connect_nonblock
* rescue IO::WaitReadable
* IO.select([s2])
* retry
* rescue IO::WaitWritable
* IO.select(nil, [s2])
* retry
* end
*
*/
static VALUE
ossl_ssl_connect_nonblock(VALUE self)
@ -1118,6 +1132,20 @@ ossl_ssl_accept(VALUE self)
/*
* call-seq:
* ssl.accept_nonblock => self
*
* initiate the TLS/SSL 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
*
*/
static VALUE
ossl_ssl_accept_nonblock(VALUE self)