1件ヒット
[1-1件を表示]
(0.024秒)
ライブラリ
- socket (1)
検索結果
-
Socket
:: Constants :: NI _ DGRAM -> Integer (22.0) -
The service specified is a datagram service (looks up UDP ports)。
The service specified is a datagram service (looks up UDP ports)。
Socket.getnameinfo, Addrinfo#getnameinfo の引数 flags に渡す
定数です。
require 'socket'
Socket.getnameinfo([ Socket::AF_INET, 514, "127.0.0.1"], Socket::NI_DGRAM)
# => ["localhost", "syslog"]
Socket.getnameinfo([ Socket::AF_INET, 5...