rednet.close

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function rednet.close
Tells the computer that the modem on the specified side can no longer be used for rednet networking, or affects all sides if none are specified. ComputerCraft versions prior to 1.6 require that a side be specified.
Syntax rednet.close([ string side ("left" / "right" / "front" / "back" / "bottom" / "top") ])
Returns nil
Part of ComputerCraft
API rednet

Examples

Grid paper.png  Example
Tells the computer to stop using the modem on the left for rednet purposes.
Code
rednet.close( "left" )


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