class ConnectedEndpoint
Definitions
def local_address_endpoint(**options)
A endpoint for the local end of the bound socket.
Signature
-
returns
AddressEndpoint
A endpoint for the local end of the connected socket.
Implementation
def local_address_endpoint(**options)
AddressEndpoint.new(socket.to_io.local_address, **options)
end
def remote_address_endpoint(**options)
A endpoint for the remote end of the bound socket.
Signature
-
returns
AddressEndpoint
A endpoint for the remote end of the connected socket.
Implementation
def remote_address_endpoint(**options)
AddressEndpoint.new(socket.to_io.remote_address, **options)
end