By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,857 Members | 1,816 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,857 IT Pros & Developers. It's quick & easy.

how to make a simple ICMP PING program?

P: n/a
I would like to make a simple PING program that has the following
paremeters:

txtAddress - a text-box that you enter an IP address into
txtinterval - a text box that allows you to enter in an interval as to
when to ping that address. So say I want the values to be between 30
and 420 seconds. So if I enter 30 in the box it will ping every 30
seconds.

also a button btnDoIt - when this is pressed it will send 3 or 4 PINGS
out to the address in txtAddress at an interval of every....however
many seconds are entered into txtInterval
Is this something that would be relatively easy to do? Can someone
show me how to do this? I have no idea where to start

thanks for any help

Oct 11 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Oct 11, 5:40 pm, Jason <paul...@excite.comwrote:
I would like to make a simple PING program that has the following
paremeters:

txtAddress - a text-box that you enter an IP address into
txtinterval - a text box that allows you to enter in an interval as to
when to ping that address. So say I want the values to be between 30
and 420 seconds. So if I enter 30 in the box it will ping every 30
seconds.

also a button btnDoIt - when this is pressed it will send 3 or 4 PINGS
out to the address in txtAddress at an interval of every....however
many seconds are entered into txtInterval

Is this something that would be relatively easy to do? Can someone
show me how to do this? I have no idea where to start

thanks for any help
Check out the System.Net.NetworkInformation.Ping class...

--
Tom Shelton

Oct 12 '07 #2

P: n/a
In addition to Tom's answer, do not assume that every firewall will cooperate
with this function. It is a protocol that is almost always disabled.

"Jason" wrote:
I would like to make a simple PING program that has the following
paremeters:

txtAddress - a text-box that you enter an IP address into
txtinterval - a text box that allows you to enter in an interval as to
when to ping that address. So say I want the values to be between 30
and 420 seconds. So if I enter 30 in the box it will ping every 30
seconds.

also a button btnDoIt - when this is pressed it will send 3 or 4 PINGS
out to the address in txtAddress at an interval of every....however
many seconds are entered into txtInterval
Is this something that would be relatively easy to do? Can someone
show me how to do this? I have no idea where to start

thanks for any help

Oct 13 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.