123456789_123456789_123456789_123456789_123456789_

Module: OpenSSL::SSL::Nonblock

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: ext/openssl/lib/openssl/ssl.rb

Instance Method Summary

Instance Method Details

#initialize(*args)

[ GitHub ]

  
# File 'ext/openssl/lib/openssl/ssl.rb', line 128

def initialize(*args)
  flag = File::NONBLOCK
  flag |= @io.fcntl(Fcntl::F_GETFL) if defined?(Fcntl::F_GETFL)
  @io.fcntl(Fcntl::F_SETFL, flag)
  super
end