From ComputerCraft Wiki
Jump to: navigation, search

Grid Redstone.png  Function
Assuming a modem is attached to the specified side, tells the computer that side can be used for networking. The modem will be automatically configured to start listening on two channel numbers - one which has the same value as the computer's ID, and another which is used for detecting rednet broadcasts (65535).

See also:
Syntax side ("left" / "right" / "front" / "back" / "bottom" / "top"))
Returns nil
Part of ComputerCraft
API rednet


Grid paper.png  Example
Tells the computer that there is a modem to its left side that can be used for networking.
Code "left" )

Grid disk.png Rednet API Functions - rednet.close - rednet.send - rednet.broadcast - rednet.receive - rednet.isOpen - - rednet.unhost - rednet.lookup