Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Code to Ping the server on the network or Internet

Posted on 2002-03-03
5
Medium Priority
?
183 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 800 total points
ID: 6838497
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 6838499
Try this link also

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

GOOD LUCK
0
 
LVL 23

Expert Comment

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

GOOD LUCK
0
 
LVL 11

Expert Comment

by:griessh
ID: 6955244
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
ID: 6979018
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

971 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