Solved

Code to Ping the server on the network or Internet

Posted on 2002-03-03
5
175 Views
Last Modified: 2010-04-01
How do I write an application similar to Ping which would tell that the server is available to the my machine and the milliseconds in which the packets are transferred.

Please anybody can provide me with the code.

0
Comment
Question by:bhavik
  • 3
5 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 200 total points
Comment Utility
0
 
LVL 23

Expert Comment

by:Roshan Davis
Comment Utility
Try this link also

http://codeproject.com/internet/winping.asp

GOOD LUCK
0
 
LVL 23

Expert Comment

by:Roshan Davis
Comment Utility
Source fro PING program in C
http://www.programmersheaven.com/zone15/cat241/2417.htm

GOOD LUCK
0
 
LVL 11

Expert Comment

by:griessh
Comment Utility
Dear bhavik

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "roshmon"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now