Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Code to Ping the server on the network or Internet

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
bhavik
Asked:
bhavik
  • 3
1 Solution
 
Roshan DavisCommented:
0
 
Roshan DavisCommented:
Try this link also

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

GOOD LUCK
0
 
Roshan DavisCommented:
Source fro PING program in C
http://www.programmersheaven.com/zone15/cat241/2417.htm

GOOD LUCK
0
 
griesshCommented:
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
 
MindphaserCommented:
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Technology Partners: 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!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now