diff options
-rw-r--r-- | toxcore/tox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 2a26e7a6..0c7aa13c 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -521,7 +521,8 @@ uint64_t tox_file_dataremaining(Tox *tox, int friendnumber, uint8_t filenumber, | |||
521 | void tox_bootstrap_from_ip(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key); | 521 | void tox_bootstrap_from_ip(Tox *tox, tox_IP_Port ip_port, uint8_t *public_key); |
522 | 522 | ||
523 | /* Resolves address into an IP address. If successful, sends a "get nodes" | 523 | /* Resolves address into an IP address. If successful, sends a "get nodes" |
524 | * request to the given node with ip, port and public_key to setup connections | 524 | * request to the given node with ip, port (in network byte order, HINT: use htons()) |
525 | * and public_key to setup connections | ||
525 | * | 526 | * |
526 | * address can be a hostname or an IP address (IPv4 or IPv6). | 527 | * address can be a hostname or an IP address (IPv4 or IPv6). |
527 | * if ipv6enabled is 0 (zero), the resolving sticks STRICTLY to IPv4 addresses | 528 | * if ipv6enabled is 0 (zero), the resolving sticks STRICTLY to IPv4 addresses |