See Original text in context
method socket-port(--> Int)
Returns the port of the local end of this socket.
See Original text in context
method socket-port(--> Promise)
Returns a Promise that will be kept with an Int|/type/Int
containing the port of the listening socket.