Yes a WireShark PCAP file would be useful in this case 🙂
Suppose that you want your device to connect to your laptop, for example IP address
You can connect to other laptops or devices, but then WireShark may not be able see all traffic.
Make sure that you assign this port 7 in network byte order:
addr.sinport = FreeRTOS
htons( 7 );
otherwise +TCP will try to connect to port 0x0700 in stead of 0x0007.
will do the following:
- It will start an ARP lookup request for
- It waits for a reply to this ARP request
- It will send out a TCP SYN packet
All three actions should be visible in WireShark.
In case you connect to an outside IP address, the hw address of a router (gateway) will be lookup up.