Class: Async::IO::BasicSocket

Inherits:
Generic
  • Object
show all
Defined in:
lib/async/io/socket.rb

Direct Known Subclasses

IPSocket, Socket, UNIXSocket

Constant Summary

Constants inherited from Generic

Generic::WRAPPERS

Instance Method Summary collapse

Methods inherited from Generic

#nonblock, #nonblock?, #read, #wait, wrap, wrap_blocking_method, wraps, #write

Instance Method Details

#typeObject



35
36
37
# File 'lib/async/io/socket.rb', line 35

def type
	self.local_address.socktype
end