This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Operating System TCP & TCP protocol implementation

0

Hi All,

I have implemented TCP protocol (RFC 793). For testing it I am using Windows Sockets. From my TCP I am sending SYN packet(Connect). I can capture the syn packet in wireshark.. It seems that the server written using Win Socket does not receives any message. Does anyone knows why this is happening??

Wireshark displays checksum error. Even i could not fix this checksum error also.

Thanks in advance for any help

asked 02 Aug '12, 03:34

prithvi's gravatar image

prithvi
6558
accept rate: 0%


One Answer:

0

I can capture the syn packet in wireshark.. It seems that the server written using Win Socket does not receives any message.

If the SYN packet is sent to the right IP address (I assume everything is O.K. with the SYN packet), and your server does not "see/process" it, these are possible reasons:

  • a firewall on the server (windows firewall) or a network firewall between client and server blocks the SYN packet
  • there is a bug in your server implementation (check with netstat -na if the port, your server is using, is in LISTEN state)

Regards
Kurt

answered 02 Aug '12, 06:26

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%