This example uses FreeRTOS+TCP to create an echo server that listens for
echo requests on the standard echo protocol
port number 7.
It may be necessary to set
mainCREATE_SIMPLE_TCP_ECHO_SERVER to 1 at the top of
the project's main.c source file to include the example in the
build. The example is not included in all FreeRTOS+TCP demos.
FreeRTOS+TCP is still in the lab
FreeRTOS+TCP is already used in
commercial products and we encourage
you to try it yourself.
Be aware however that we are
still refining its design, and the
source code and documentation do not
yet meet Real Time Engineers Ltd's strict quality standards.
Please use the forum for support,
feedback and ideas,
or contact us directly if you have a specific business interest.
When the example is executed in the FreeRTOS+TCP and FreeRTOS+FAT Windows demo,
then echo requests are sent to the echo server from Windows threads, and
using the Windows TCP/IP stack - so no further actions are required.
When the example is executed using any FreeRTOS+TCP demo other than the
Windows demo, then it is necessary to send echo requests to the server
manually. The third party EchoTool
utility can be used for this purpose (a pre-built executable is available
on the link).
EchoTool using this batch file to repeatedly connect to,
send ten echo requests to, receive echo replies from, and then
disconnect from, an echo server implemented with FreeRTOS+TCP