class Async::IO::AddressEndpoint

This class will open and close the socket automatically.

def bind(&block)

def bind(&block)
	Socket.bind(@address, **@options, &block)
end

def connect(&block)

def connect(&block)
	Socket.connect(@address, **@options, &block)
end

def initialize(address, **options)

def initialize(address, **options)
	super(**options)
	
	@address = address
	@options = options
end

def to_s

def to_s
	"\#<#{self.class} #{@address.inspect}>"
end