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

Paul Kinlan

The second part of the C# Ping Tutorial is up. At the moment it doesn’t have much in the way of solid implementation, but this is a series of posts so expect more. It is quite a good post because he talks about what Ping packets look like and where they are on the communications stack.

Anyway to quote the post.

Let us start out by looking at requirements of the Ping client. Basically, the task of the tool is to find out if a specified server is alive, and on the network. The way it achieves this is by sending an echo packet to the server. The server responds with an echo response. If the server responds within a certain time interval, then we can assume that there is network connectivity from the client to the server. If it doesnt respond, then it could indicate a variety of things that could be wrong

[Via MSDN Blogs]

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium