SPMA080 April 2021 TM4C1292NCPDT , TM4C1292NCPDT , TM4C1292NCZAD , TM4C1292NCZAD , TM4C1294KCPDT , TM4C1294KCPDT , TM4C1294NCPDT , TM4C1294NCPDT , TM4C1294NCZAD , TM4C1294NCZAD , TM4C1299KCZAD , TM4C1299KCZAD , TM4C1299NCZAD , TM4C1299NCZAD , TM4C129DNCPDT , TM4C129DNCPDT , TM4C129DNCZAD , TM4C129DNCZAD , TM4C129EKCPDT , TM4C129EKCPDT , TM4C129ENCPDT , TM4C129ENCPDT , TM4C129ENCZAD , TM4C129ENCZAD , TM4C129LNCZAD , TM4C129LNCZAD , TM4C129XKCZAD , TM4C129XKCZAD , TM4C129XNCZAD , TM4C129XNCZAD
This example demonstrates the EK-TM4C1294XL LaunchPad as a web server. As a web server, the EK-TM4C1294XL receives incoming network HTTP requests and sends outgoing HTTP responses along with web contents through TCP/IP connections.
The HTTP server pulls files from the embedded file system (EFS) that is included in the NDK software package’s OS adaptation layer. In this example, these files are compiled into the application located on a memory-based file system.
This example also demonstrates dynamic contents generation using Common Gateway Interface (CGI). CGI is an interface specification that enables web servers to execute a program to process user requests. CGI programs execute on a web server and process input from a user. The CGI program is built from a single C callable entry-point. Each CGI function is called on its own independent task thread.
For more details, see to Web Programming with the HTTP Server.