Comment fix.

This commit is contained in:
irungentoo 2015-05-29 19:01:14 -04:00
parent 29c37bf2f4
commit 5ea703c844
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 4 additions and 14 deletions

View File

@ -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

View File

@ -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