diff options
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 14c9f616..5af92c72 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -451,7 +451,15 @@ struct Tox_Options { | |||
451 | 451 | ||
452 | 452 | ||
453 | /** | 453 | /** |
454 | * The port to use for the TCP server. If 0, the tcp server is disabled. | 454 | * The port to use for the TCP server (relay). If 0, the TCP server is |
455 | * disabled. | ||
456 | * | ||
457 | * Enabling it is not required for Tox to function normally. | ||
458 | * | ||
459 | * When enabled, your Tox instance can act as a TCP relay for other Tox | ||
460 | * instance. This leads to increased traffic, thus when writing a client | ||
461 | * it is recommended to enable TCP server only if the user has an option | ||
462 | * to disable it. | ||
455 | */ | 463 | */ |
456 | uint16_t tcp_port; | 464 | uint16_t tcp_port; |
457 | 465 | ||