るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n=
  3. rsa n
  4. openssl n=
  5. openssl n

ライブラリ

キーワード

検索結果

Addrinfo#afamily -> Integer (9325.0)

アドレスファミリーを整数で返します。

...アドレスファミリーを整数で返します。

require 'socket'

Addrinfo
.tcp("localhost", 80).afamily == Socket::AF_INET #=> true...

Addrinfo#pfamily -> Integer (9325.0)

プロトコルファミリーを整数で返します。

...プロトコルファミリーを整数で返します。

require 'socket'

Addrinfo
.tcp("localhost", 80).pfamily == Socket::PF_INET #=> true...

Addrinfo#protocol -> Integer (9325.0)

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

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

require 'socket'

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

Addrinfo#socktype -> Integer (9325.0)

ソケットタイプを整数で返します。

...ソケットタイプを整数で返します。

require 'socket'

Addrinfo
.tcp("localhost", 80).socktype == Socket::SOCK_STREAM #=> true...