This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: EK-TM4C1294XL:

Part Number: EK-TM4C1294XL

Tool/software:

Hi,

     I am working on TCP, am using lwip_tcp_echo_client_lwip.c example code, but unable to see tcp communication on wireshark app. Can you guide how ro resolve this. Server ip: my pc ipv4(changed in code) other than this anything has to change in code.

  • Hi,

     I'm currently on vacation and I will look into your problem when I get back tomorrow. Please expect delay in my response.

  • Hi,

      Can you show the wireshark capture?

      Which tool do you use on the server side (the PC) to exchange messages with the client (the MCU)? Are you using SocketTest? You can use any tool of you choice. 

      Did you first start the server before starting the MCU? The MCU is the client. When the MCU starts, it will try to connect with the server. If the server is not started yet, then the client will fail in the connection process. You must start the server before starting the client. 

      Which port number do you start on the server? The example uses port number 8000 to connect with the server. 

      You should see an example wireshark capture like below. In my capture, the server is 10.219.15.38 and the client IP is 10.219.15.99. The client will send a SYN to the server and the server will reply with a SYN, ACK. Do you see this on your capture?

      The example is hardcoded with a server IP address using #define SERVER_IPADDR. Did you change this to your own server IP address?