This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cdel's profile picture

modem api or rednet?

Started by cdel, 29 July 2014 - 09:39 AM
cdel #1
Posted 29 July 2014 - 11:39 AM
Greetings,
not really sure if this actually belongs here, but its worth a try. I had an idea for a networking api and I was wondering if it would be better to use the raw modem api or just rednet?
theoriginalbit #2
Posted 29 July 2014 - 11:42 AM
if you're going to make a networking API definitely use the Modem API. it gives you greater control over the messaging system. The Rednet API is just a wrapper around the Modem API. Depending on what (and how) you're going to do this networking api, you may even want to do a top level coroutine override (search it) and remove the coroutine that generates the Rednet events.
flaghacker #3
Posted 29 July 2014 - 11:44 AM
I'd say the raw modem API. It generally allows finer control about stuff like channels. It's mostly personal preference thought. What are you making?

EDIT: Ninja'd
EDIT2: LOL: http://www.computercraft.info/forums2/index.php?/topic/5651-top-level-coroutine-override/
Edited on 29 July 2014 - 09:46 AM