03-12-2005, 09:33 AM
greetings,
when i started on sshot last week i also wrote a c wrapper around RakNet so i could use it for the network part of sshot. i didn't finish it though as i didn't find the time for it.
well, now i finished it and thought i'd would be something for you ppl to play around as i noticed that many in here want to write networked games.
this is by far not a full fleged wrapper, i only ported the basic stuff that you will need. but believe me there's not really much you'll miss. the only thing that i'm going to add is the network time function that will make time synchronization of clients a lot easier ( no ping / 2 ).
i really suggest to read up on game networking programming on gamedev.net and flipcode.org, and read the manual of Raknet on the official site http://www.rakkarsoft.com
here's the source, it includes the lib and dll for the wrapper, a sample client and server, and the c-source of the wrapper have fun
http://ratatoskr.dragonhill.cc/fbirc/fbraknet.rar
when i started on sshot last week i also wrote a c wrapper around RakNet so i could use it for the network part of sshot. i didn't finish it though as i didn't find the time for it.
well, now i finished it and thought i'd would be something for you ppl to play around as i noticed that many in here want to write networked games.
this is by far not a full fleged wrapper, i only ported the basic stuff that you will need. but believe me there's not really much you'll miss. the only thing that i'm going to add is the network time function that will make time synchronization of clients a lot easier ( no ping / 2 ).
i really suggest to read up on game networking programming on gamedev.net and flipcode.org, and read the manual of Raknet on the official site http://www.rakkarsoft.com
here's the source, it includes the lib and dll for the wrapper, a sample client and server, and the c-source of the wrapper have fun
http://ratatoskr.dragonhill.cc/fbirc/fbraknet.rar