Api/netlib.sendstring(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "netlib function used to send a string to another system this will first send a regular rednet message with the string "sendstring" so the receiving side knows to expect a string, this is required for a "listen" program that listens for incomming calls. after this the string you include is properly transmitted to the other party. '''usage:''' local temp = netlib.sendstring(client, string) '''output:''' transmits "string" to a netlib capable system,...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Api/netlib|netlib function]] used to send a string to another system | [[Api/netlib|netlib function]] used to send a string to another system | ||
this | unlike rednet.send, this is a multi step process that verifies if the string has been received intact by the other side, it's the "TCP" to rednet's "UDP" | ||
Latest revision as of 02:16, 14 October 2024
netlib function used to send a string to another system
unlike rednet.send, this is a multi step process that verifies if the string has been received intact by the other side, it's the "TCP" to rednet's "UDP"
usage:
local temp = netlib.sendstring(client, string)
output:
transmits "string" to a netlib capable system,
returns true if successfull, false if failed.