るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.104秒)
トップページ > クエリ:t[x] > クエリ:Ruby[x] > 種類:インスタンスメソッド[x] > クエリ:reverse[x] > クラス:BasicSocket[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle type_size_t

ライブラリ

検索結果

BasicSocket#do_not_reverse_lookup -> bool (12251.0)

ソケットごとのアドレスからホスト名への逆引きの設定を返します。

...
BasicSocket
.do_not_reverse_lookup の値になります。

require 'socket'

BasicSocket
.do_not_reverse_lookup = false
T
CPSocket.open("www.ruby-lang.org", 80) {|sock|
p sock.do_not_reverse_lookup # => false
}
BasicSocket
.do_not_reverse_lookup = true
T
CPSocket.open("www.ruby-la...
...ng.org", 80) {|sock|
p sock.do_not_reverse_lookup # => true
}

@see BasicSocket#do_not_reverse_lookup=...