Object
UDP/IP address information used by Socket.udp_server_loop.
# File socket/lib/socket.rb, line 642 def initialize(remote_address, local_address, &reply_proc) @remote_address = remote_address @local_address = local_address @reply_proc = reply_proc end
# File socket/lib/socket.rb, line 649 def inspect "\#<#{self.class}: #{@remote_address.inspect_sockaddr} to #{@local_address.inspect_sockaddr}>" end
# File socket/lib/socket.rb, line 653 def reply(msg) @reply_proc.call msg end
This page was generated for Ruby 1.9.2
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with the Rubydoc Rdoc Generator 0.9.3.