35 36 37
# File 'lib/lightio/module/socket.rb', line 35 def foreach(*args, &block) LightIO::Library::Addrinfo.getaddrinfo(*args).each(&block) end