Network commands request

Blitz3D Forums/Blitz3D Beginners Area/Network commands request

_PJ_(Posted 2004) [#1]
Hi I know it's a bit cheeky, but I have been toying with this for over a year and I have real difficulty with the whole Networking code stuff.

All I want is a dead simple annotated example of the following:




eBusiness(Posted 2004) [#2]
I havn't tested it, and it is only synchronisation and a little gameloop. For sending data, try something like integer 0, followed by integer frametime, followed by integer player id number (if you plan on having more than 2 players), followed by all data regarding this player, either terminate by integer 0, or write a new player number followed by the same kind of data etc. After terminating the player data section, go on with other stuff in the same manner (id, followed by set amount of data, terminate with 0).

I hope that I havn't confused more than I have helped.


_PJ_(Posted 2004) [#3]
Thanks, that looks great, eBusiness.. I'm still at work so can't test it yet, but it appears to be just what I wanted. From this framework, I can build on it!

Your notes seem real helpful too!
I'll be back once I've been able top have a play with it!