Solved

Code to Ping the server on the network or Internet

Posted on 2002-03-03
5
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 23

Accepted Solution

by:
Roshan Davis earned 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 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 learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

617 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