Connection.createTcpTunnel()

DESCRIPTION

Create a new tunnel on this connection. Tunnel must subsequently be opened. The returned TcpTunnel object must be kept alive while in use.

DECLARATION

    public func createTcpTunnel() throws -> TcpTunnel 

THROWS ERRORS

ALLOCATION_ERROR:
if the tunnel could not be created.