TcpTunnel.getLocalPort()
DESCRIPTION
Get the local TCP port, useful when opening tunnel with 0 as local port.
DECLARATION
public func getLocalPort() throws -> UInt16
THROWS ERRORS
INVALID_STATE:
- if the tunnel is not open.
RETURNS
the local port the local TCP server is listening on