This TCP server is setup for Stellaris series (LM3S8962) from TI. The TCP/IP stack is lwIP shipped with enet_io app in StellarisWare.
First create and add a C file “tcp_server.c” at “..\StellarisWare\third_party\lwip-1.3.2\apps\tcpserver” folder. Include the prototype in enet_io.c file.
//***************************************************************************** // // External Application references. // //***************************************************************************** extern void httpd_init(void); extern void tcp_server_init(void); |
In the main function, call the tcp_server_init() function.
(continue reading…)








