ParsecHostBeginP2P
ParsecStatusParsecHostBeginP2P(Parsec *ps,const char *attemptID,uint16_tport,ParsecCredentials *creds)
Allow or reject a pending guest. HOST_DESKTOP
only.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | attemptID | The attempt ID that's assigned to this connection. |
in | port | The host port. |
in | creds | The ParsecCredentials for the STUN phase. |
Returns
PARSEC_OK
on success or PARSEC_NOT_RUNNING
if the host has not been started.