In IO::Socket::Async::ListenSocket§

See primary documentation in context for method socket-host.

method socket-host(--> Promise)

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

In IO::Socket::Async§

See primary documentation in context for method socket-host.

method socket-host(--> Str)

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