Module: Socketry

Defined in:
lib/socketry/timeout.rb,
lib/socketry/version.rb,
lib/socketry/exceptions.rb,
lib/socketry/ssl/server.rb,
lib/socketry/ssl/socket.rb,
lib/socketry/tcp/server.rb,
lib/socketry/tcp/socket.rb,
lib/socketry/udp/socket.rb,
lib/socketry/udp/datagram.rb,
lib/socketry/resolver/resolv.rb,
lib/socketry/resolver/system.rb

Defined Under Namespace

Modules: Resolver, SSL, TCP, Timeout, UDP

Constant Summary collapse

VERSION =
"0.5.1"
Error =

Generic catch all for all Socketry errors

Class.new(StandardError)
ConnectionRefusedError =

Failed to connect to a remote host

Class.new(Socketry::Error)
AddressError =

Invalid address

Class.new(Socketry::Error)
AddressInUseError =

Address is already in use

Class.new(Socketry::Error)
TimeoutError =

Timeouts performing an I/O operation

Class.new(Socketry::Error)
StateError =

Cannot perform operation in current state

Class.new(Socketry::Error)
InternalError =

Internal consistency error within the library

Class.new(Socketry::Error)