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

See primary documentation in context for method socket-port

method socket-port(--> Promise)

Returns a Promise that will be kept with an Int|/type/Int containing the port of the listening socket.

In IO::Socket::Async§

See primary documentation in context for method socket-port

method socket-port(--> Int)

Returns the port of the local end of this socket.