connectAsync

expect suspend fun connectAsync(address: IPSocketAddress): TorCtrl

Connects to a tor control listener via TCP socket.

Throws

IOException

If connection attempt fails


expect suspend fun connectAsync(path: File): TorCtrl

Connects to a tor control listener via UnixDomainSocket.

Throws

IOException

If connection attempt fails

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

actual suspend fun connectAsync(address: IPSocketAddress): TorCtrl

Connects to a tor control listener via TCP socket.

Throws

IOException

If connection attempt fails


actual suspend fun connectAsync(path: File): TorCtrl

Connects to a tor control listener via UnixDomainSocket.

Throws

IOException

If connection attempt fails

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

actual suspend fun connectAsync(address: IPSocketAddress): TorCtrl

Connects to a tor control listener via TCP socket.

Throws

IOException

If connection attempt fails


actual suspend fun connectAsync(path: File): TorCtrl

Connects to a tor control listener via UnixDomainSocket.

Throws

IOException

If connection attempt fails

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