mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Comment fix.
This commit is contained in:
parent
29c37bf2f4
commit
5ea703c844
|
@ -611,13 +611,8 @@ uint8_t[size] savedata {
|
||||||
* Sends a "get nodes" request to the given bootstrap node with IP, port, and
|
* Sends a "get nodes" request to the given bootstrap node with IP, port, and
|
||||||
* public key to setup connections.
|
* public key to setup connections.
|
||||||
*
|
*
|
||||||
* This function will attempt to connect to the node using UDP and TCP at the
|
* This function will attempt to connect to the node using UDP. You must use
|
||||||
* same time.
|
* this function even if ${options.this.udp_enabled} was set to false.
|
||||||
*
|
|
||||||
* Tox will use the node as a TCP relay in case ${options.this.udp_enabled} was
|
|
||||||
* false, and also to connect to friends that are in TCP-only mode. Tox will
|
|
||||||
* also use the TCP connection when NAT hole punching is slow, and later switch
|
|
||||||
* to UDP if hole punching succeeds.
|
|
||||||
*
|
*
|
||||||
* @param address The hostname or IP address (IPv4 or IPv6) of the node.
|
* @param address The hostname or IP address (IPv4 or IPv6) of the node.
|
||||||
* @param port The port on the host on which the bootstrap Tox instance is
|
* @param port The port on the host on which the bootstrap Tox instance is
|
||||||
|
|
|
@ -679,13 +679,8 @@ typedef enum TOX_ERR_BOOTSTRAP {
|
||||||
* Sends a "get nodes" request to the given bootstrap node with IP, port, and
|
* Sends a "get nodes" request to the given bootstrap node with IP, port, and
|
||||||
* public key to setup connections.
|
* public key to setup connections.
|
||||||
*
|
*
|
||||||
* This function will attempt to connect to the node using UDP and TCP at the
|
* This function will attempt to connect to the node using UDP. You must use
|
||||||
* same time.
|
* this function even if Tox_Options.udp_enabled was set to false.
|
||||||
*
|
|
||||||
* Tox will use the node as a TCP relay in case Tox_Options.udp_enabled was
|
|
||||||
* false, and also to connect to friends that are in TCP-only mode. Tox will
|
|
||||||
* also use the TCP connection when NAT hole punching is slow, and later switch
|
|
||||||
* to UDP if hole punching succeeds.
|
|
||||||
*
|
*
|
||||||
* @param address The hostname or IP address (IPv4 or IPv6) of the node.
|
* @param address The hostname or IP address (IPv4 or IPv6) of the node.
|
||||||
* @param port The port on the host on which the bootstrap Tox instance is
|
* @param port The port on the host on which the bootstrap Tox instance is
|
||||||
|
|
Loading…
Reference in New Issue
Block a user