Skip to main content
path: root/server
diff options
authorDidier Brachet2016-10-07 09:27:32 -0400
committerDidier Brachet2016-10-07 09:27:32 -0400
commitcd48a524dfaf28e5898fa635e4ff599aa9dd19be (patch)
treea087e3692fa2e8e59d064b6f66bed448fa7923c9 /server
parent3c58fddd4ddfdc8d6c6a8bc100403dd29a13d237 (diff)
TCF Agent: Added PortForward and PortServer services
Added support for PortForward & PortServer services. PortForward service allows opening a tcp/udp/serial port on the remote peer and remote access the port input/output using a TCF stream. The PortServer service is built on top of PortForward service and allows opening a local TCP/UDP port and redirect it to a serial/udp/tcp port of the remote peer. A PortForward service proxy library is also provided and provides an API to locally create a PortServer.
Diffstat (limited to 'server')
1 files changed, 12 insertions, 0 deletions
diff --git a/server/tcf/config.h b/server/tcf/config.h
index f4815849..5757bbdd 100644
--- a/server/tcf/config.h
+++ b/server/tcf/config.h
@@ -166,4 +166,16 @@
#define ENABLE_ProfilerSST 0
#define ENABLE_ContextIdHashTable 0
+#if !defined(SERVICE_PortForward)
+#define SERVICE_PortForward 0
+#if !defined(SERVICE_PortServer)
+#define SERVICE_PortServer 0
+#if !defined(ENABLE_PortForwardProxy)
+#define ENABLE_PortForwardProxy SERVICE_PortServer
#endif /* D_config */

Back to the top