how to make a simple ICMP PING program?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason

    how to make a simple ICMP PING program?

    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....howeve r
    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

  • Tom Shelton

    #2
    Re: how to make a simple ICMP PING program?

    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....howeve r
    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.Netw orkInformation. Ping class...

    --
    Tom Shelton

    Comment

    • =?Utf-8?B?RmFtaWx5IFRyZWUgTWlrZQ==?=

      #3
      RE: how to make a simple ICMP PING program?

      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....howeve r
      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
      >
      >

      Comment

      Working...