class IO::Endpoint::BoundEndpoint

def remote_address_endpoint(**options)

@returns [CompositeEndpoint] A composite endpoint for the remote end of the bound socket.
A endpoint for the remote end of the bound socket.
def remote_address_endpoint(**options)
	endpoints = @sockets.map do |wrapper|
		AddressEndpoint.new(socket.to_io.remote_address, **options)
	end
	
	return CompositeEndpoint.new(endpoints)
end