genode/repos/gems/src/server/tcp_terminal
Stefan Kalkowski 79dff674fd gems: add connect facility to tcp_terminal
Instead of listening for new TCP/IP connections only,
the TCP terminal connects to a server when an IP address is
configured in the policy for a terminal client.

Fix #3619
2020-02-04 16:10:09 +01:00
..
main.cc gems: add connect facility to tcp_terminal 2020-02-04 16:10:09 +01:00
README gems: add connect facility to tcp_terminal 2020-02-04 16:10:09 +01:00
target.mk Merge pthread into libc library 2018-11-29 11:46:01 +01:00

TCP terminal is a service that provides Genode's terminal-session interface
via individual TCP connections. It supports multiple clients. The TCP port
to be used for each client is defined in as session policy in the config node
of the TCP server:

! <config>
!   <policy label_prefix="client" ip="10.0.0.5" port="8181"/>
!   <policy label_prefix="another_client" port="8282"/>
! </config>

If only a port is described in the policy the TCP terminal will listen on
that port for incomming connections. If an IP address is provided additionally,
it connects to the IP address using the given port.

For an example of how to use the TCP terminal, please refer to the run script
at 'gems/run/tcp_terminal.run'.