Page 1 of 1

Ping plugin

Posted: November 1st, 2005, 7:32 am
by penjuin
I have a pretty mangled router, so I wanted to know if it was on the internet or stuffing up. This plugin pings google.com. Please note that because of the fragile nature of ICMP, this may occasionally return a false positive. If there are any other troubles let me know.
_____________________________________________________________________________________________________________________

Files:
-> pingplugin.dll

Usage:
-> $dll(pingplugin.dll,1,[success],[failure])

Example (1 line on a 20 character lcd):
-> Internet status:$dll(pingplugin.dll,1,Good,Bad)

Download here

Posted: November 1st, 2005, 11:24 am
by limbo
:P Ahhh
I had a plug-in like that under development....
You 're too fast :lol:

I 'll try to alter my code and make something more advanced.

You 're too fast
You 're too fast
You 're too fast

Posted: November 21st, 2005, 1:00 am
by Rafael_Brazil
Hi There!!

Great plugin... but, if you can set an IP address... I think that will be very usefull... :D

Posted: December 12th, 2005, 7:56 pm
by jantar.cz
Ping plugin is something I really need.
But, I am not good at programming, so I hope somebody will do it.
I was using jaLCDs, but it was unstable on my computer, it have support for ping.
This is thing which is really missing.

Posted: December 12th, 2005, 8:20 pm
by limbo
I really don't like to work on others ideas...
But I have a little program under development (published on my site) called i-Net which is a windows ping utility.
I had some plans to make a plugin for LCD Smartie for this program.
But all my plans stopped when a ping plugin was released.

Penjuin was to fast me...

Now I'm consider to start coding again.

Hey Penjuin, I really love your job! :) Don't get mad of me :oops:

Posted: December 16th, 2005, 2:00 pm
by penjuin
Thanks Limbo! I actually need a bit of help with the ping plugin. I have just returned from a long holiday and have decided to do some more electrical stuff. As you have no doubt read I am definitely not a delphi programmer. I am in need of delphi code that will split strings. For example, turning "Good|Bad" into two different variables, splitting at the "|" character. I can accomplish this in just about every other language I know, just not delphi :(.

Any help would be great.

Posted: December 16th, 2005, 6:35 pm
by limbo

Posted: March 11th, 2006, 1:32 am
by spoon
I can't find the ping plugin anywhere on your site... just what I'm looking for

Posted: March 11th, 2006, 1:40 am
by penjuin
Sorry about that mate, my server was down and out for a while. Its back up now, so try again.

Posted: March 11th, 2006, 7:05 pm
by spoon
Wow, fast reply thanks..

Anyway to change what the output message is ?

Posted: March 11th, 2006, 9:21 pm
by penjuin
$dll(pingplugin.dll,1,good,bad) will return good or bad
$dll(pingplugin.dll,1,yay,nay) will return yay or nay

Change it to whatever you want