Api/netlib.ping()

From Minux Wiki
Revision as of 23:46, 13 October 2024 by Shorun (talk | contribs) (Created page with "netlib function used to test if a system is alive. ping sends a simple ping to another system to test if it is able to respond. '''usage:''' local returnvalue = netlib.ping(client) '''output:''' true if reply has been received, false if not.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

netlib function used to test if a system is alive.

ping sends a simple ping to another system to test if it is able to respond.


usage:

local returnvalue = netlib.ping(client)


output:

true if reply has been received, false if not.