rednet.open
From ComputerCraft Wiki
![]() | |
Assuming a modem is attached to the specified side, rednet.open() 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: modem.open() | |
Syntax | rednet.open(string side ("left" / "right" / "front" / "back" / "bottom" / "top")) |
Returns | nil |
Part of | ComputerCraft |
API | rednet |
Examples
![]() | |
Tells the computer that there is a modem to its left side that can be used for networking. | |
Code |
rednet.open( "left" ) |
![]() |
---|
rednet.open - rednet.close - rednet.send - rednet.broadcast - rednet.receive - rednet.isOpen - rednet.host - rednet.unhost - rednet.lookup |