summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-05-29 19:01:14 -0400
committerirungentoo <irungentoo@gmail.com>2015-05-29 19:01:14 -0400
commit5ea703c844b12e86702c35b53b0b798fe5f86634 (patch)
treea4e107dea228d659c36c145af474efee02830bb3 /toxcore/tox.h
parent29c37bf2f4f7870e932ea5bf2f9f23a23f3b7cc1 (diff)
Comment fix.
Diffstat (limited to 'toxcore/tox.h')
-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