GameNet?

BlitzMax Forums/BlitzMax Beginners Area/GameNet?

Ked(Posted 2009) [#1]
I was wondering if someone could give me a rundown of GameNet (GNet) that comes with BlitzMax? The tutorial in the BlitzMax Tutorials section is outdated and uses functions that the current GNet no longer has.

Basically, I would like to know how to know when a peer has connected to the host, when the host has disconnected, how to create and send a message via CreateGNetMessage() and SendGNetMessage(), and how often I should call GNetSync() (once a loop, once every ten loops, etc.)

Thanks in advance!


Ked(Posted 2009) [#2]
Nevermind! I've been doing a lot of testing, reading, and looking at examples of GNet and I think I'm starting to get it! (I really like what I'm seeing with using this!)

But, I still am not sure how often I should call GNetSync(). I don't want to call it too much and I don't want to call it too less and have delays. Any thoughts?