るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. tracer add_filter
  2. logger add
  3. rexml/document add
  4. openssl add_extension
  5. socket ip_add_membership

ライブラリ

キーワード

検索結果

Addrinfo#afamily -> Integer (9025.0)

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

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

require 'socket'

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

Addrinfo#pfamily -> Integer (9025.0)

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

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

require 'socket'

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

Addrinfo#protocol -> Integer (9025.0)

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

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

require 'socket'

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

Addrinfo#socktype -> Integer (9025.0)

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

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

require 'socket'

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