Page 1 of 1

LCDPing

Posted: April 18th, 2007, 8:10 am
by IFR
Title: LCDPing
Version: 1.0
Author: IFR

Description:
*************
LCDPing is a little plugin that ping any host over an ip network to see if it is reachable.
This plugin can return various informations about the ping test.

Requirements:
****************
LCDSmartie 5.3 or newer
Microsoft .NET framwork

Functions list:
***************
  • -Function 1 (Required):
    $dll(LCDPing,1,Host,[timeout])

    Parameters
    Host => Taget name (e.g. google.com, 234.12.43.67,localhost,192.168.0.1)
    Timeout => (optional) set the timeout in millisecond to wait for each reply. Default is 120 ms.

    Return Value: Round Trip time in ms
  • -Function 2 (Optional):
    $dll(LCDPing,2,,)

    Return Value: Host ip
  • -Function 3 (Optional):
    $dll(LCDPing,3,,)

    Return Value : TIme to live
    Google it for more infomation.
  • -Function 4 (Optional):
    $dll(LCDPing,4,,)

    Return Value: ping timeout in ms
  • -Function 5 (Optional):
    $dll(LCDPing,5,,)

    Return Value: Count how many times the plugin has pinged the target host
  • -Function 6 (Optional):
    $dll(LCDPing,6,[decimal],)

    Parameter:
    decimal => (Optional) Maximum number of decimal to be returned. Default is 2.

    Return Value: Average round trip time in ms.
  • -Function 20 (Optional):
    $dll(LCDPing,20,,)

    Return Value: Information about the plugin
Example of usage:
********************

Code: Select all

Host: $dll(LCDPing,2,,)
Ping: $dll(LCDPing,1,google.com,120) ms
Average: $dll(LCDPing,6,2,) ms
Counter: $dll(LCDPing,5,,)
Misc info:
***********
This plugin can be used to check the latency of a game server, monitor a local server or router, verify if your website server is up.
Refresh interval is set to 5 seconds.

Posted: July 9th, 2008, 9:49 am
by caesar
Thanks for the plugin, works great and was exactly what I was looking for!

Re: LCDPing

Posted: July 31st, 2009, 12:35 am
by The Guv.
Possible to make this return a 'Online/Offline' or 'Connected/Disconnected' string?

Re: LCDPing

Posted: August 5th, 2009, 4:20 pm
by limbo
The Guv. wrote:Possible to make this return a 'Online/Offline' or 'Connected/Disconnected' string?
Use the internet plugin for that... http://www.eserver.gr