UDP/IP address information used by Socket.udp_server_loop.
Methods
Attributes
| [R] | local_address | Local address |
| [R] | remote_address | Address of the source |
Class Public methods
new(remote_address, local_address, &reply_proc)
Link
remote_address is an Addrinfo
object.
local_address is an Addrinfo
object.
reply_proc is a Proc used to send
reply back to the source.
Source: show
# File ext/socket/lib/socket.rb, line 740 def initialize(remote_address, local_address, &reply_proc) @remote_address = remote_address @local_address = local_address @reply_proc = reply_proc end
Instance Public methods