method socket-host

Documentation for method socket-host assembled from the following types:

class IO::Socket::Async

From IO::Socket::Async

(IO::Socket::Async) method socket-host

method socket-host(--> Str)

Returns the IP address of the local end of this socket.

class IO::Socket::Async::ListenSocket

From IO::Socket::Async::ListenSocket

(IO::Socket::Async::ListenSocket) method socket-host

method socket-host(--> Promise)

Returns a Promise that will be kept with a Str|/type/Str containing the address of the listening socket.