るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.124秒)
トップページ > 種類:インスタンスメソッド[x] > バージョン:2.3.0[x] > クエリ:d[x] > クエリ:g[x] > クエリ:protocol[x] > クラス:Addrinfo[x]

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. integer to_d
  4. string to_d
  5. rsa d=

ライブラリ

検索結果

Addrinfo#protocol -> Integer (63628.0)

ソケットプロトコルを整数で返します。

...ソケットプロトコルを整数で返します。

require 'socket'

Addrinfo
.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true...