ParsecStatusParsecClientNewAttempt(Parsec *ps,const ParsecClientConfig *cfg,const char *attemptID,ParsecProtocolprotocol,ParsecCredentials *creds)
Begin connecting to a remote Parsec host.
Performs authentication, peer-to-peer negotiation, and NAT traversal. This function operates asynchronously and will return immediately. Call
ParsecClientGetStatus to determine if the client has successfully connected or is in an error state.
|Parsec instance returned by |
|Client configuration. May be left |
|The unique attempt ID that the client assigns to this.|
PARSEC_OK if the connection attempt is underway,
PARSEC_ALREADY_RUNNING if there is an active connection.