rednet.unhost

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function rednet.unhost
Assuming the system was previously registered on the rednet network as using the given protocol under the given name, it'll no longer respond to rednet.lookup() requests under that combination until it's rednet.host()ed again.
Syntax rednet.unhost(string protocol, string hostname)
Returns Nothing
Part of ComputerCraft
API rednet

Examples

Grid paper.png  Example
De-registers the system as using the protocol "futonFolderComs" under the hostname "futonFolderServer".
Code
rednet.unhost("futonFolderComs","futonFolderServer")


Grid disk.png Rednet API Functions
rednet.open - rednet.close - rednet.send - rednet.broadcast - rednet.receive - rednet.isOpen - rednet.host - rednet.unhost - rednet.lookup
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox