<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Modem.getNamesRemote</id>
		<title>Modem.getNamesRemote - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Modem.getNamesRemote"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Modem.getNamesRemote&amp;action=history"/>
		<updated>2026-07-11T20:38:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Modem.getNamesRemote&amp;diff=7370&amp;oldid=prev</id>
		<title>Bomb Bloke: Created page with &quot;{{Function |name=''modem''.getNamesRemote |returns={{type|table}} peripheralNames |api=Modem |addon=ComputerCraft |desc=Essentially the same as peripheral.getNames(), whic...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Modem.getNamesRemote&amp;diff=7370&amp;oldid=prev"/>
				<updated>2016-01-09T14:12:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Function |name=&amp;#039;&amp;#039;modem&amp;#039;&amp;#039;.getNamesRemote |returns={{type|table}} peripheralNames |api=Modem |addon=ComputerCraft |desc=Essentially the same as &lt;a href=&quot;/wiki/Peripheral.getNames&quot; title=&quot;Peripheral.getNames&quot;&gt;peripheral.getNames&lt;/a&gt;(), whic...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Function&lt;br /&gt;
|name=''modem''.getNamesRemote&lt;br /&gt;
|returns={{type|table}} peripheralNames&lt;br /&gt;
|api=Modem&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Essentially the same as [[peripheral.getNames]](), which returns a numerically-indexed table containing the names of all peripherals attached to the system; however, this function only returns peripherals which are specifically connected to the [[Wired Modem]] you called it through.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints a list of all peripherals attached to a modem, along with their type.&lt;br /&gt;
|code=local modem = [[peripheral.wrap]](&amp;quot;top&amp;quot;)  -- Or whatever side the modem is attached to.&lt;br /&gt;
 &lt;br /&gt;
 local periList = modem.getNamesRemote()&lt;br /&gt;
 &lt;br /&gt;
 for i = 1, #periList do&lt;br /&gt;
 	print(&amp;quot;I have a &amp;quot;..[[peripheral.getType]](periList[i])..&amp;quot; attached as \&amp;quot;&amp;quot;..periList[i]..&amp;quot;\&amp;quot;.&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
|output=Depending on the peripherals available, along the lines of:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;i&amp;gt;I have a monitor attached as &amp;quot;monitor_0&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
I have a printer attached as &amp;quot;printer_0&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
etc...&amp;lt;/i&amp;gt; &lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Bomb Bloke</name></author>	</entry>

	</feed>