]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commit
cmd: Add echoserver functionality and command cmd_echoserver
authorRostislav Lisovy <lisovy@gmail.com>
Tue, 6 Jan 2015 10:27:21 +0000 (11:27 +0100)
committerRostislav Lisovy <lisovy@gmail.com>
Tue, 6 Jan 2015 10:27:21 +0000 (11:27 +0100)
commitb6a0bb53989caf45a910119bb9601341a8f2549a
tree09b5de0e7399d7d99bd3bd7c8b4e8c733c10118d
parent07b067956cf0600c0c6cdcaa6358df9bc1e92bd5
cmd: Add echoserver functionality and command

The echoserver (es) creates one or more background threads
which are listening on a particular port. When some data are
received, the same data are then sent back.
Basic thread management is supported -- it is possible either
to list all the threads or kill them all.

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
rpp-test-sw/commands/cmd.c
rpp-test-sw/commands/cmd_echoserver.c [new file with mode: 0644]
rpp-test-sw/commands/cmd_echoserver.h [new file with mode: 0644]