abstract fun connectTo(peerPublicKey: PublicKey, peerAddress: InetSocketAddress): AsyncCompletion
(source)
Connects to a remote peer
peerPublicKey
- the peer public key
peerAddress
- the peer host and port
Return
a handle that completes if the peer connects successfully.