22件ヒット
[1-22件を表示]
(0.110秒)
クラス
- Addrinfo (11)
-
Resolv
:: DNS :: Resource :: IN :: WKS (11)
検索結果
-
Addrinfo
# protocol -> Integer (18208.0) -
ソケットプロトコルを整数で返します。
...ソケットプロトコルを整数で返します。
require 'socket'
Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true... -
Resolv
:: DNS :: Resource :: IN :: WKS # protocol -> Integer (18202.0) -
IPプロトコル番号を返します。
IPプロトコル番号を返します。
例えば 6 は TCP に対応します。