Constants

Characters used to generate random strings

Class Methods

Creates TCP server sockets bound to address:port and returns them.

It will create IPV4 and IPV6 sockets on all interfaces.

Creates a self-signed certificate with the given number of bits, the issuer cn and a comment to be stored in the certificate.

The server hostname

Generates a random string of length len

Sets the close on exec flag for io

Sets IO operations on io to be non-blocking

Changes the process’s uid and gid to the ones of user

Executes the passed block and raises exception if execution takes more than seconds.

If seconds is zero or nil, simply executes the block

Instance Methods

Creates TCP server sockets bound to address:port and returns them.

It will create IPV4 and IPV6 sockets on all interfaces.

Creates a self-signed certificate with the given number of bits, the issuer cn and a comment to be stored in the certificate.

The server hostname

Generates a random string of length len

Sets the close on exec flag for io

Sets IO operations on io to be non-blocking

Changes the process’s uid and gid to the ones of user

Executes the passed block and raises exception if execution takes more than seconds.

If seconds is zero or nil, simply executes the block