Wireshark-dev: [Wireshark-dev] Internet Protocol: Header checksum BAD:True
From: "Rach, Darshan" <DarshanR@xxxxxxx>
Date: Tue, 24 Nov 2009 18:46:00 +0530

Hi,

 

I have developed a C# application like this.

 

public static void Main()

{

UdpClient sock = new UdpClient();

      IPEndPoint iep = new IPEndPoint(IPAddress.Parse("10.201.234.112"), 32773);

      int discarded;

      byte[] data = "" style="color:teal">HexEncoding.GetBytes("000300250000feca676574766f642e636f6de7424d5f3136313100000e10001505424d5f313631315f776974685f747261696c6f7200000edf090edc055468657265206172652074776f20726561736f6e7320666f722069742e20536865206c656674204d756d62616920616e642053616c6d616e204b68616e2077697468207468652070726f6d6973652074686174206865722062697274686461792074686973207965617220776f756c642073747269636c747920626520612066616d696c79206166666169722e204120667269656e64206f6620746865206269727468646179206769726c20736169642c20537570706f736520736865206d61646520616e20657863657074696f6e206a757374206265636175736520627564647920416b736861792077617320696e204c6f6e64", out discarded);

      sock.Send(data, data.Length, iep);

}

 

When I send packets this way, I am getting an exception when I sniff through Wireshark.

 

 

Kindly let me know what might have gone wrong?

 

Regards,

Darshan



This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@xxxxxxx and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com