1.. zephyr:code-sample:: sockets-tcp-sample 2 :name: TCP sample for TTCN-3 based sanity check 3 :relevant-api: bsd_sockets 4 5 Use TTCN-3 to validate the functionality of the TCP stack. 6 7Overview 8******** 9 10This application is used together with the TTCN-3 based sanity check 11to validate the functionality of the TCP. 12 13Building, Running and executing TTCN-3 based Sanity Check for TCP 14***************************************************************** 15 16Compile and start the `net-test-tools`_: 17 18.. code-block:: console 19 20 ./autogen.sh 21 make 22 ./loop-slipcat.sh 23 24Build the TCP sample app: 25 26.. code-block:: console 27 28 cd samples/net/sockets/tcp 29 mkdir build && cd build 30 cmake -DBOARD=qemu_x86 -DEXTRA_CONF_FILE="overlay-slip.conf" .. 31 make run 32 33Compile and run the TCP sanity check `net-test-suites`_: 34 35.. code-block:: console 36 37 . titan-install.sh 38 . titan-env.sh 39 cd src 40 . make.sh 41 ttcn3_start test_suite tcp2_check_3_runs.cfg 42 43.. _`net-test-tools`: https://github.com/intel/net-test-tools 44.. _`net-test-suites`: https://github.com/intel/net-test-suites 45