I have written a fairly extensive tutorial for using the RakNet networking library inside a game/application created with the Irrlicht 3d engine. Irrlicht is my engine of choice, and this tutorial shows how to create an Irrlicht application whose event handler calls function in RakNet.
The code is not reliant upon Irrlicht, it's just what I chose to use. The tutorial is oriented towards showing basic networking methods for people with little knowledge of networking.
In the tutorial, you build a small client/server drawing application called Chalkboard. As the clients draw on the window provided to them, the server relays the information about what they draw to all the other connected clients, thereby creating a simple networked drawing program.
It contains excellent information about each function, the RakNet functions used, Packet structures, encoding custom data into a single packet to send, and much more information!
It is a great starting point for people to write their own Client/Server applications using RakNet.
You'll be surprised at how easy it is!
http://www.daveandrews.org/articles/irrlicht_raknet/
A Primer for RakNet using Irrlicht
-
roninmagus
- Posts: 91
- Joined: Fri Oct 31, 2003 5:03 am
A Primer for RakNet using Irrlicht
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
-
roninmagus
- Posts: 91
- Joined: Fri Oct 31, 2003 5:03 am
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
-
Loopy
very nice tutorial. Thanks.
Is RakNet really free ?
I downloaded the free version but i found their license to be a bit confusing for me....
Am i allowed to use the free version commercially ?
I think 32 connections are enough for me, and i don't wanna pay $2000 to get unilmited connections and the full source code of the commercial license....
Maybe i'm just missing something, but i hate wasting time reading huge licenses
Is RakNet really free ?
I downloaded the free version but i found their license to be a bit confusing for me....
Am i allowed to use the free version commercially ?
I think 32 connections are enough for me, and i don't wanna pay $2000 to get unilmited connections and the full source code of the commercial license....
Maybe i'm just missing something, but i hate wasting time reading huge licenses
-
roninmagus
- Posts: 91
- Joined: Fri Oct 31, 2003 5:03 am
Yes, the license is free, but you cannot use it in a commercial project without permission from Rakkarsoft. There is no longer any charge for that.
Anything non-commercial and you can use the GPL license for RakNet.
Anything non-commercial and you can use the GPL license for RakNet.
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht