Method: IO::Endpoint::Generic#bind

Defined in:
lib/io/endpoint/generic.rb

#bind(wrapper = self.wrapper, &block) ⇒ Object

Bind a socket to the given address. If a block is given, the socket will be automatically closed when the block exits.

Raises:

  • (NotImplementedError)


72
73
74
# File 'lib/io/endpoint/generic.rb', line 72

def bind(wrapper = self.wrapper, &block)
	raise NotImplementedError
end