Documentation for method socket-port
assembled from the following pages:
Class: IO::Socket::Async §
From IO::Socket::Async
(IO::Socket::Async) method socket-port §
method socket-port(--> Int)
Returns the port of the local end of this socket.
Class: IO::Socket::Async::ListenSocket §
From IO::Socket::Async::ListenSocket
(IO::Socket::Async::ListenSocket) 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.