Ping Part IV: Adventures in Socket programming using System.Net- October 26, 2005 In this part, we will add some networking code to the code we have thus far. When we get done, we should have a working Ping utility. Take the program that we wrote in the Ping: Part III and add the following code. using System; using System.Text; using System.Globalization; using System.Net; using System.Net.Sockets; using System.Net.NetworkInformation; namespace ping public class ICMP_PACKET ...http://blogs.msdn.com/feroze_daud/archive/2005/10/26/485372.aspx Ping Part III: Adventures in Socket programming using System.Net- October 24, 2005 In Part II of this article, we saw how we are going to use the ICMP protocol to implement a simple Ping client. We also saw a skeleton of this program which showed how to translate the ICMP packet specification into a C structure. In this part, we will write a routine to calculate the checksum of the packet, and a routine to serialize the packet into a byte array. Recall from PartII that the request and reply packets have a particular encoding on the wire. We will have to write a..http://blogs.msdn.com/feroze_daud/archive/2005/10/24/484260.aspx Ping Part II: Adventures in Socket programming using System.Net- October 23, 2005 If you see the ping utility that comes with your OS, you will notice that it has many options. However, the one we are going to develop will just take one argument: C:ping>ping <hostname> <ipaddress> Example: ping www.contoso.com Example: ping 127.0.0.1 Let us start out by looking at requirements of the Ping client. Basically, the task of the tool is to find out if a...http://blogs.msdn.com/feroze_daud/archive/2005/10/23/483976.aspx PING: Adventures in Socket programming using System.Net- October 20, 2005 After a long hiatus, I am back to posing to my blog. I am going to start out with a series on Socket programming. In this series, I will show you how to implement a simple Ping client using classes from the System.Net.Sockets namespace. It should be an exciting journey. For starters, you can familiarize yourself with the RFC for ICMP (Internet Control Message Protocol) which is the protocol used by the PING client. The RFC for that is here:...http://blogs.msdn.com/feroze_daud/archive/2005/10/20/483088.aspx Decoding Printer Tracking Technology- October 18, 2005 In a previous blog post, I wrote about how printer manufacturers are embedding tracking information in their printers. Well, today, via Slashdot, I learned that folks at EFF have figured out the encoding in atleast one printer (those made by Xerox). The following link has more details... http:www.eff.orgnewsarchives2005_10.php004063http://blogs.msdn.com/feroze_daud/archive/2005/10/18/482397.aspx |