Api/netlib: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
netlib [[Api]], included in [https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=164&sid=2985882c94cc3717be70c8c0bb51fc92 "netlib"] package, used to regulate network communication with verification, usefull for programs that do a lot of network chatter.
netlib [[Api]], included in [https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=164&sid=2985882c94cc3717be70c8c0bb51fc92 "netlib"] package, used to regulate network communication with verification, usefull for programs that do a lot of network chatter.
netlib functions have support for "localhost", meaning you can communicate with your own system id and transmit strings or tables without having to change your program for local use.




Line 9: Line 12:


[[Api/netlib.getstring()|netlib.getstring()]] - used to receive a string sent with sendstring
[[Api/netlib.getstring()|netlib.getstring()]] - used to receive a string sent with sendstring
[[Api/netlib.sendtable()|netlib.sendtable()]] - used to send a table to another party
[[Api/netlib.gettable()|netlib.gettable()]] - used to receive a table from another party

Revision as of 00:11, 14 October 2024

netlib Api, included in "netlib" package, used to regulate network communication with verification, usefull for programs that do a lot of network chatter.

netlib functions have support for "localhost", meaning you can communicate with your own system id and transmit strings or tables without having to change your program for local use.


netlib.ping() - used to test if a system is alive

netlib.getping() - replies to a ping in a proper way

netlib.sendstring() - used to send a string to another party.

netlib.getstring() - used to receive a string sent with sendstring

netlib.sendtable() - used to send a table to another party

netlib.gettable() - used to receive a table from another party