module OpenSSL::SSL::Nonblock

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# 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