![]() |
Programming question
To all hardcore programmers browsing this thread:
Hi! I want to create a program that measures "ping" response time. I want the program to detect a slowdown within a network (the response time generated by the "ping" command is higher than usual) and/or an intermittent network node (the "ping" generates a "request timed out"). What program can I use? If possible please include pseudocode/algorithm, syntax, or some good references or forums on the Web that can help me. Thanks! |
are you running linux or windows? if you're using linux you can best use perl or BASH scripting, and if you're using windows you'll have to ahng on till a windows programmer drops by. basic pseudocode would look like this.
:
while(pinging)good luck |
the pseduocode above by Dizzutch is also how you can approach this problem in windows.
|
i'm just not sure what the easiest/best language is, for windows
|
I'm running Windows.
Quote:
|
sure, you could use Java
|
What are the possible languages that I can use? It might be fun trying out all of them. :)
Thanks for the replies. Keep them coming. :) Quote:
|
Do you know the command/function that I can use? I'm not too familiar with Java.
Quote:
|
well, you'll kinda need to learn how to program with Java first. here's sun's java tutorial
http://java.sun.com/docs/books/tutorial/ good luck Dizz |
you maybe could use a bat file for windows, but i could be wrong about that.
Welcome to the forums btw. |
| All times are GMT -5. The time now is 4:19 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC