Beginning Networking In C++
Hi there,
I was, wondering if anyone could point me in the direction of a good book to cover networking in c++ that could meet the following conditions.
1) Is not tied to the windows operating system (or directX)
2) I've just cleared a beginners tome, so something of an intermediate level would be ace.
3) Would work on unix as well as windows (the code) if possible. (if not a unix book would be good, and I'll aquire a different book for windows at a leter date)
Ok that's me done,
All help greatly appreciated, as I've scanned a large amount of books on google and amazon and had no joy.
Many thanks in advance,
Add
Take a look at Raknet (I forgot their website, check google). It support both UPD and TCP and is cross platform. They say it works on any operating system that support the BSD sockets (Linux, mac, etc) and it has support for Winsock. Their intention is to provide multiplayer games with a better sollution for synching and what ever more comes into play with networking games (I think gd gave them a reward too, not sure). And most of all it's free and Open source.
They have licenses for GPL application, shareware and commercial applications (You need permission for that) and all the versions are free.
So good luck and I hope it's what you're looking for.
Enjoy!
styx
EDIT: Oops I read it all wrong. I thought you were looking for an API. My bad :/ (It's still early)
They have licenses for GPL application, shareware and commercial applications (You need permission for that) and all the versions are free.
So good luck and I hope it's what you're looking for.
Enjoy!
styx
EDIT: Oops I read it all wrong. I thought you were looking for an API. My bad :/ (It's still early)
lol, that's cool, I know the feeling, coding took me late into the night and through into this morning.
Hey it's the taking part that counts isn't it ?? :)
Hey it's the taking part that counts isn't it ?? :)
I know a superb tutorial for networking in both a linux (mainly) and a windows environment.
go here
http://www.davesdump.com/data/Ians%20Socket%20Stuff/bgnet2.pdf
ace
go here
http://www.davesdump.com/data/Ians%20Socket%20Stuff/bgnet2.pdf
ace
Quote:Original post by styxo
Take a look at Raknet (I forgot their website, check google). It support both UPD and TCP and is cross platform. They say it works on any operating system that support the BSD sockets (Linux, mac, etc) and it has support for Winsock. Their intention is to provide multiplayer games with a better sollution for synching and what ever more comes into play with networking games (I think gd gave them a reward too, not sure). And most of all it's free and Open source.
They have licenses for GPL application, shareware and commercial applications (You need permission for that) and all the versions are free.
So good luck and I hope it's what you're looking for.
Enjoy!
styx
EDIT: Oops I read it all wrong. I thought you were looking for an API. My bad :/ (It's still early)
your slightly wrong. raknet does not support many platforms - it only officially supports Windows and Linux. i heard you can get it to compile on Mac, but, its un-supported from Rak'kar...
also, it doesn't have support for TCP. Raknet is fully UDP based, but has a reliability layer with many different options (reliable ordered, reliable sequenced, reliable, unreliable, etc..).
with that said, i also fully recommend raknet. unless you actually want to learn and understand the low level sockets programming of winsock (personally i would rather spend that time actually making a game with raknet [smile]) - go over to raknet's website and start reading the basic tutorials. it has very good support and will take you step by step in building simple programs which you should be able to expand. raknet has awesome docs, and awesome support. best of all, with raknet, (the protocol layer of) network programming could not get any simpler. i have used SDL_net and Enet in the past, and Raknet is by far my favorite.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement