method socket-port
| 1 | class IO::Socket::Async |
| 1.1 | (IO::Socket::Async) method socket-port |
| 2 | class IO::Socket::Async::ListenSocket |
| 2.1 | (IO::Socket::Async::ListenSocket) method socket-port |
Documentation for method socket-port assembled from the following types:
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.