summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.h9
1 files changed, 2 insertions, 7 deletions
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