ipv4_multicast_loop(integer) -> Socket::OptionRuby 2.1.0 から[permalink][rdoc][edit]-
IPPROTO_IP/IP_MULTICAST_LOOP 用の
Socket::Optionオブジェクトを新たに生成し返します。- [PARAM]
integer: - データ(整数)
require 'socket' p Socket::Option.ipv4_multicast_loop(1) # => #<Socket::Option: INET IP MULTICAST_LOOP 1> - [PARAM]