I have ported over the tcp stack to the tiva tm4c1294 launchpad. I am playing with socket connections.
I successfully get assigned a ip address via dhcp. Using wireshark, I also see my device periodically sending out a Gradtuitous ARP for (my ip address). Makes me believe my device is talking. However, when I setup a socket, I can never get it to successfully connect. The value returned is a 116, or pdFREERTOS_ERRNO_ETIMEDOUT.
What are you trying to connect to? Do you have an external echo server set up, or something similar? If so, could you please post a wireshark log of the attempted communication.
Your questions and suggestions really helped. I had been using wireshark, but one of the things that confused me was I would only see my dhcp messages go out. Then silence from my device. I am on a switched network. I may be a network newbie but I should have known switches mask messages to network plugs/ports that don’t have the inteneded device connected to it.
Once I got around the wireshark issue, I had another light bulb moment. I asked our IT folks to set me up with a connection not behind our network firewall. Turns out that didn’t happen. We love to lock things down. Reason I was failing connection was our firewall. I am up an running now, no issues. I was convinced it was my code. I need to learn to trust myself more.