From 3a28a8c5fb0e916629cd04c45658ba5201fe029b Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 8 May 2015 22:03:24 -0400 Subject: 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. --- other/apidsl/tox.in.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'other/apidsl') 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 { * The end port of the inclusive port range to attempt to use. */ uint16_t end_port; + + /** + * The port to use for the TCP server. If 0, the tcp server is disabled. + */ + uint16_t tcp_port; } -- cgit v1.2.3