Ping Part IV: Adventures in Socket programming using System.Net

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;…

0

Ping Part III: Adventures in Socket programming using System.Net

  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…

0

Ping Part II: Adventures in Socket programming using System.Net

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…

3

PING: Adventures in Socket programming using System.Net

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…

2

Decoding Printer Tracking Technology

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.org/news/archives/2005_10.php#004063

0