Class: Async::IO::BasicSocket

Inherits:
Generic
  • Object
show all
Includes:
Peer
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 included from Peer

#connected?

Methods inherited from Generic

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

Instance Method Details

#typeObject



55
56
57
# File 'lib/async/io/socket.rb', line 55

def type
	self.local_address.socktype
end