diff options
author | irungentoo <irungentoo@gmail.com> | 2015-05-08 22:03:24 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-05-08 22:03:24 -0400 |
commit | 3a28a8c5fb0e916629cd04c45658ba5201fe029b (patch) | |
tree | fda3315a9073832861b8e700675b78ed6fa51e81 /other/apidsl | |
parent | 6a4c2e8fc680824c978f0b69aca7f1ac940c4cf1 (diff) |
Added basic TCP server hosting to tox.h api.
TODO: tell friends we are hosting a relay and prioritize using relays
hosted by friends over bootstrap ones.
Diffstat (limited to 'other/apidsl')
-rw-r--r-- | other/apidsl/tox.in.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/other/apidsl/tox.in.h b/other/apidsl/tox.in.h index 84a4a03e..dd47df23 100644 --- a/other/apidsl/tox.in.h +++ b/other/apidsl/tox.in.h | |||
@@ -411,6 +411,11 @@ static class options { | |||
411 | * The end port of the inclusive port range to attempt to use. | 411 | * The end port of the inclusive port range to attempt to use. |
412 | */ | 412 | */ |
413 | uint16_t end_port; | 413 | uint16_t end_port; |
414 | |||
415 | /** | ||
416 | * The port to use for the TCP server. If 0, the tcp server is disabled. | ||
417 | */ | ||
418 | uint16_t tcp_port; | ||
414 | } | 419 | } |
415 | 420 | ||
416 | 421 | ||