SKS OCDoc
OpenComputers
Computronics
Minitel

lib/netutil.lua

netutil.ping(addr^string^, times^number^, timeout^number^, silent^boolean^): boolean, number, number, number

Request acknowledgment from addr, waiting timeout seconds each try, and try times times. If silent is true, don't print status. Returns true if there was at least one successful ping, the number of successes, the number of failures, and the average round trip time.

netutil.nc(host^string^, port^number^): boolean

Starts an interactive Minitel socket connection to host on port, primarily for remote login. Returns whether the attempt was successful.

netutil.exportfs(path^string^): boolean

Export the directory path over RPC.

netutil.importfs(host^string^, rpath^string^, lpath^string^): boolean

Import filesystem rpath from host and attach it to lpath.

© ShadowKat Studios
The software used to generate this page is licensed under the Mozilla Public License version 2 and can be found here