Jump to content




modem api or rednet?


  • You cannot reply to this topic
2 replies to this topic

#1 cdel

  • Banned
  • 496 posts
  • LocationMelbourne, Australia

Posted 29 July 2014 - 10: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?

#2 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 29 July 2014 - 10: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.

#3 flaghacker

  • Members
  • 655 posts

Posted 29 July 2014 - 10: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.computerc...utine-override/

Edited by flaghacker, 29 July 2014 - 10:46 AM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users