ParsecHostAddCandidate
voidParsecHostAddCandidate(Parsec *ps,const char *attemptID,const char *ip,uint16_tport,boollan,boolfromStun,boolsync)
Give a possible candidate to connect to.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | attemptID | The attempt ID that's assigned to this connection. |
in | ip | The IP address to connect to. |
in | port | The port to connect to. |
in | lan | If the client is on the LAN network. |
in | fromStun | If this candidate came from the STUN results. |
in | sync | The nat sync state. |