How to fix TcpClient Ip Header Bad Checksum

I use the System.Net.Sockets.TcpClient class, but whenever I send my own packet over the network, I see a bad checksum on my wirehark capture. How can i fix this?

+4
source share
1 answer

The problem is that you have the checksum offload installed in your network interface.

This will cause the network card to calculate the checksum, not Windows. WireShark will detect this as incorrect checksums, but in fact it is not.

In the properties of your network interface, if you click [Configure], the [Advanced] tab has the [Check Checksum] item. If you set it to [Disabled], WireShark displays that the checksums are correct.

+8
source

All Articles