Set the address to hostname, which can be a host name
or an IP-style address in dot notation (a.b.c.d)
Returns true on success, false if something goes wrong
(invalid hostname or invalid IP address).
Returns the hostname which matches the IP address.
Returns a String containing the IP address in dot quad (127.0.0.1) format.
Set the port to that corresponding to the specified service.
Returns true on success, false if something goes wrong
(invalid service).
Set the port to that corresponding to the specified service.
Returns true on success, false if something goes wrong
(invalid service).
Returns the current service.
Set address to any of the addresses of the current machine. Whenever
possible, use this function instead of IPV4address#local_host,
as this correctly handles multi-homed hosts and avoids other small
problems. Internally, this is the same as setting the IP address
to INADDR_ANY.
Returns true on success, false if something went wrong.
Set address to localhost (127.0.0.1). Whenever possible, use the
IPV4address#any_address,
function instead of this one, as this will correctly handle multi-homed
hosts and avoid other small problems.
Returns true on success, false if something went wrong.
[This page automatically generated from the Textile source at 2023-06-03 08:07:43 +0000]