class IO::Endpoint::HostEndpoint

def bind(wrapper = self.wrapper, &block)

Returns:
  • (Array) - an array of bound sockets

Other tags:
    Yield: - the bound socket
def bind(wrapper = self.wrapper, &block)
	Addrinfo.foreach(*@specification).map do |address|
		wrapper.bind(address, **@options, &block)
	end
end