The latest development version of this page may be more current than this released 4.0.0 version.

TCP sample for TTCN-3 based sanity check

Browse source code on GitHub

Overview

This application is used together with the TTCN-3 based sanity check to validate the functionality of the TCP.

Building, Running and executing TTCN-3 based Sanity Check for TCP

Compile and start the net-test-tools:

./autogen.sh
make
./loop-slipcat.sh

Build the TCP sample app:

cd samples/net/sockets/tcp
mkdir build && cd build
cmake -DBOARD=qemu_x86 -DEXTRA_CONF_FILE="overlay-slip.conf" ..
make run

Compile and run the TCP sanity check net-test-suites:

. titan-install.sh
. titan-env.sh
cd src
. make.sh
ttcn3_start test_suite tcp2_check_3_runs.cfg

See also

BSD Sockets compatible API