Connect to an I2P peer.
Synopsis
Declared in <i2p.h>
bool
Connect(
CService const& to,
Connection& conn,
bool& proxy_error);
Return Value
true on success
Parameters
Name |
Description |
to [in] |
Peer to connect to. |
conn [out] |
Established connection. Only set if |
proxy_error [out] |
If an error occurs due to proxy or general network failure, then this is set to |
Created with MrDocs