<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ironsmith123</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ironsmith123"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Ironsmith123"/>
		<updated>2026-07-11T21:44:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Rednet_(API)&amp;diff=1017</id>
		<title>Rednet (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Rednet_(API)&amp;diff=1017"/>
				<updated>2012-03-15T07:32:45Z</updated>
		
		<summary type="html">&lt;p&gt;Ironsmith123: I just added a detail to the rednet.receive section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The rednet API provides a simple computer networking model over RedPower bundled cables or the Wireless Modems of Computercraft 1.3.&lt;br /&gt;
With the table below, 'side' refers to a string that represents a side of the computer (&amp;quot;front&amp;quot;, &amp;quot;back&amp;quot;, &amp;quot;left&amp;quot;, &amp;quot;right&amp;quot;, &amp;quot;bottom&amp;quot;, &amp;quot;top&amp;quot;). All message sent with rednet are and must be strings.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|rednet.open( side )&lt;br /&gt;
|Tells the computer that the side can be used for networking.&lt;br /&gt;
|-&lt;br /&gt;
|rednet.close( side )&lt;br /&gt;
|Tells the computer that the side can no longer be used for networking.&lt;br /&gt;
|-&lt;br /&gt;
|rednet.announce()&lt;br /&gt;
|Broadcasts an empty rednet message.&lt;br /&gt;
|-&lt;br /&gt;
|rednet.send( receiverID, message )&lt;br /&gt;
|Sends a message to the computer using the opened sides. The receiver ID is the ID (number, not string) of the computer you're sending the message to.&lt;br /&gt;
|-&lt;br /&gt;
|rednet.broadcast( message )&lt;br /&gt;
|Sends the message to ALL connected and open computers.&lt;br /&gt;
|-&lt;br /&gt;
|rednet.receive( timeout )&lt;br /&gt;
|Sets an amount of time to wait for a rednet message input. If you wanted to have the computer wait for an input for 5 seconds, then the code would be: rednet.receive( 5 ) If you wanted it to continuously receive then don't put anything between the ().&lt;br /&gt;
|}&lt;br /&gt;
You can also handle the &amp;quot;rednet_message&amp;quot; event to receive messages without calling receive(), the arguments are the same as the receive() return values.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Ironsmith123</name></author>	</entry>

	</feed>