BasicSocket
# File mrbgems/mruby-socket/mrblib/socket.rb, line 212 def self.getaddress(host) Addrinfo.ip(host).ip_address end
# File mrbgems/mruby-socket/mrblib/socket.rb, line 216 def addr Addrinfo.new(self.getsockname)._to_array end
# File mrbgems/mruby-socket/mrblib/socket.rb, line 220 def peeraddr Addrinfo.new(self.getpeername)._to_array end
# File mrbgems/mruby-socket/mrblib/socket.rb, line 224 def recvfrom(maxlen, flags=0) msg, sa = _recvfrom(maxlen, flags) [ msg, Addrinfo.new(sa)._to_array ] end
This page was generated for Ruby mruby
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.