I am developing an Ethernet driver and implementing TCP exchange code. To test my TCP code this is the scenario (monitored on wireshark):
Server: Custom Ethernet device
Client: PC
- I opened TCP client socket from hercules utility.
- I am able to see ARP request and response exchange from the ethernet device and hercules.
- After ARP request is served, client sends TCP SYN packet and server repsonses with SYN-ACK.
- To complete 3 way handshake client should send ACK at the end which I am not getting and hercules says TCP connection time out.
I need to diagnose the possible issue of why the client is not acknowledging SYN-ACK to complete 3-way handshake.