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
After the example has run, it will display the client IP address acquired from the DHCP server on the CCS console window. Once the client connects to the SocketTest server, it will send a “Hello from TM4C1294XL Connected LaunchPad\n” greeting message to the server.
Look at the conversation field in box 3 of Figure 11-1 where it displays the “Hello from TM4C1294XL Connected LaunchPad\n” message from the client IP address 192.168.254.92 as soon as the server accepts the connection. Go to the Message field in the SocketTest shown in box 4 and type some message. Whatever message is entered is echoed by the client. In this example, the message entered is “This is a TCP Echo Client example for TI-RTOS NDK\n\r” with a total length of 53 characters.
Examine the Wireshark capture in Figure 11-2.