27 posts
Posted 21 March 2012 - 04:27 PM
is it possible that a pc can scan pc with rednet?
because i saw it on youtube and if looked for it in the forums i didnt found something
if there is a can can i have them i dont know how need to make that code
473 posts
Location
Poland
Posted 21 March 2012 - 04:28 PM
define 'scan'
27 posts
Posted 21 March 2012 - 04:30 PM
how do u mean define scan?
124 posts
Location
Liverpool (no I am not a Scouser Im form Holland)
Posted 21 March 2012 - 04:30 PM
i think he means to scan for somthing(search) :(/>/>
27 posts
Posted 21 March 2012 - 04:31 PM
i dont need a wordbook or else i want to code it
473 posts
Location
Poland
Posted 21 March 2012 - 04:32 PM
i mean, tell what 'scan' should do in your opinion, then i can help
27 posts
Posted 21 March 2012 - 04:34 PM
i mean scanning computers on the network or rednet SCAN computers there IDS or else name
473 posts
Location
Poland
Posted 21 March 2012 - 04:35 PM
not possible, unless you put some code on all the computers.
27 posts
Posted 21 March 2012 - 04:41 PM
but if the rednet is open on a pc is the pc Findable? or not?
473 posts
Location
Poland
Posted 21 March 2012 - 04:47 PM
it is not, rednet is only passive, unless conducted via RP bundles, then computers send the 'data accepted' signal (color red of bundle). No way to index the IDs though.
27 posts
Posted 21 March 2012 - 05:00 PM
ok then whats the code so they can find?
1111 posts
Location
Portland OR
Posted 21 March 2012 - 07:59 PM
There is not real scan function. You would have to use some rednet and os commands to emulate the scan. It would be a simple rednet.broadcast() followed by a os.pullEvent("rednet_message") from the main computer, with a os.pullEvent with a rednet.send() on the computer being "scanned". You will have to use parallel or coroutines to get the computer that is doing the scan to handle the multiple incoming messages.
When you have some code and run into issues post it and we can go from there.