connectAsync

expect suspend fun connectAsync(address: IPSocketAddress): TorCtrl(source)

Connects to a tor control listener via TCP socket.

Throws

If connection attempt fails


expect suspend fun connectAsync(path: File): TorCtrl(source)

Connects to a tor control listener via UnixDomainSocket.

Throws

If connection attempt fails

UnsupportedOperationException

if tor, or system this is running on does not support UnixDomainSockets

actual suspend fun connectAsync(address: IPSocketAddress): TorCtrl(source)

Connects to a tor control listener via TCP socket.

Throws

If connection attempt fails


actual suspend fun connectAsync(path: File): TorCtrl(source)

Connects to a tor control listener via UnixDomainSocket.

Throws

If connection attempt fails

UnsupportedOperationException

if tor, or system this is running on does not support UnixDomainSockets

actual suspend fun connectAsync(address: IPSocketAddress): TorCtrl(source)

Connects to a tor control listener via TCP socket.

Throws

If connection attempt fails


actual suspend fun connectAsync(path: File): TorCtrl(source)

Connects to a tor control listener via UnixDomainSocket.

Throws

If connection attempt fails

UnsupportedOperationException

if tor, or system this is running on does not support UnixDomainSockets