|
-
July 25th, 2004, 07:17 PM
#1
Banned
ping stats in VB
hi to all
i need a make a program in any language (vb,c)to ping google and to calculate the result like the average time , etc,etc
normally in dos we use
D:\WINDOWS\Desktop>ping -t www.google.com
Pinging www.google.akadns.net [66.102.9.104] with 32 bytes of data:
Reply from 66.102.9.104: bytes=32 time=643ms TTL=238
Reply from 66.102.9.104: bytes=32 time=487ms TTL=238
Reply from 66.102.9.104: bytes=32 time=448ms TTL=238
Reply from 66.102.9.104: bytes=32 time=445ms TTL=238
Reply from 66.102.9.104: bytes=32 time=412ms TTL=238
Reply from 66.102.9.104: bytes=32 time=404ms TTL=238
Reply from 66.102.9.104: bytes=32 time=399ms TTL=238
Reply from 66.102.9.104: bytes=32 time=420ms TTL=238
Ping statistics for 66.102.9.104:
Packets: Sent = 8, Received = 8, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 399ms, Maximum = 643ms, Average = 457ms
Control-C
D:\WINDOWS\Desktop>
i need to make a program in VB preferrably and to display the results in a seperate window ,so any bright ideas as to how it can be done??
thanx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|