Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

LCDPing

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
IFR
Plugin Author
Posts: 201
Joined: April 6th, 2005, 12:59 am
Location: Canada
Contact:

LCDPing

Post 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.
You do not have the required permissions to view the files attached to this post.
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Thanks for the plugin, works great and was exactly what I was looking for!
The Guv.
Posts: 5
Joined: July 29th, 2009, 10:38 pm

Re: LCDPing

Post by The Guv. »

Possible to make this return a 'Online/Offline' or 'Connected/Disconnected' string?
limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Re: LCDPing

Post 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
Post Reply