diff options
-rw-r--r-- | other/apidsl/tox.in.h | 9 | ||||
-rw-r--r-- | toxcore/tox.h | 9 |
2 files changed, 4 insertions, 14 deletions
diff --git a/other/apidsl/tox.in.h b/other/apidsl/tox.in.h index 87d0ab87..fc66dfac 100644 --- a/other/apidsl/tox.in.h +++ b/other/apidsl/tox.in.h | |||
@@ -611,13 +611,8 @@ uint8_t[size] savedata { | |||
611 | * Sends a "get nodes" request to the given bootstrap node with IP, port, and | 611 | * Sends a "get nodes" request to the given bootstrap node with IP, port, and |
612 | * public key to setup connections. | 612 | * public key to setup connections. |
613 | * | 613 | * |
614 | * This function will attempt to connect to the node using UDP and TCP at the | 614 | * This function will attempt to connect to the node using UDP. You must use |
615 | * same time. | 615 | * this function even if ${options.this.udp_enabled} was set to false. |
616 | * | ||
617 | * Tox will use the node as a TCP relay in case ${options.this.udp_enabled} was | ||
618 | * false, and also to connect to friends that are in TCP-only mode. Tox will | ||
619 | * also use the TCP connection when NAT hole punching is slow, and later switch | ||
620 | * to UDP if hole punching succeeds. | ||
621 | * | 616 | * |
622 | * @param address The hostname or IP address (IPv4 or IPv6) of the node. | 617 | * @param address The hostname or IP address (IPv4 or IPv6) of the node. |
623 | * @param port The port on the host on which the bootstrap Tox instance is | 618 | * @param port The port on the host on which the bootstrap Tox instance is |
diff --git a/toxcore/tox.h b/toxcore/tox.h index cf5491af..e5158915 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -679,13 +679,8 @@ typedef enum TOX_ERR_BOOTSTRAP { | |||
679 | * Sends a "get nodes" request to the given bootstrap node with IP, port, and | 679 | * Sends a "get nodes" request to the given bootstrap node with IP, port, and |
680 | * public key to setup connections. | 680 | * public key to setup connections. |
681 | * | 681 | * |
682 | * This function will attempt to connect to the node using UDP and TCP at the | 682 | * This function will attempt to connect to the node using UDP. You must use |
683 | * same time. | 683 | * this function even if Tox_Options.udp_enabled was set to false. |
684 | * | ||
685 | * Tox will use the node as a TCP relay in case Tox_Options.udp_enabled was | ||
686 | * false, and also to connect to friends that are in TCP-only mode. Tox will | ||
687 | * also use the TCP connection when NAT hole punching is slow, and later switch | ||
688 | * to UDP if hole punching succeeds. | ||
689 | * | 684 | * |
690 | * @param address The hostname or IP address (IPv4 or IPv6) of the node. | 685 | * @param address The hostname or IP address (IPv4 or IPv6) of the node. |
691 | * @param port The port on the host on which the bootstrap Tox instance is | 686 | * @param port The port on the host on which the bootstrap Tox instance is |