Can someone make a tutorial?
I wanted to make a Client/Server network with a bunch of routing computers. a.k.a. the internet.
How does it send messages?
Bundled Cable or Red Alloy Wire/RedStone????
rednet.open( "back" )
while true do
event, id, message = os.pullEvent()
if event == "rednet_message" then
print( "Message from ID#"..id..":" )
print( message )
end
end
rednet.receive, as well as the "rednet_message" event will both return the ID of the sender as well as his message.If you use rednet.recieve how do you get the computer id and message??
local id, message = rednet.receive()
The problem is that you can't have multiple computers 'talk' at the same time, or else the messages become garbled.
Wouldn't they need to send it within 5 milliseconds of the first message? Not sure. :SThe problem is that you can't have multiple computers 'talk' at the same time, or else the messages become garbled.
Sorry. Forgot to check the dates :SPlease don't bring back topics this old. This information is outdated as of several versions ago. Rednet through the wireless modems does not suffer from collision issues.
So, there is really no collisions? Also, are messages transfer instantly, or transfer time is dependent on their size?