Sign in to follow this  
ClementLuminy

Looking for nework programming introduction tutorials...

Recommended Posts

ClementLuminy    121
Hello ! I'm new to this forum and also to this domain of application that is network programming... I'm planning to create a network layer for my game engine, but i strictly don't know how to do that ! I whould like to have informations on how to create a multiplayer network system ( Similar to the communication system you have in quake, which allow multiplayer to play on the same game at the same time over the internet .... ) I'm lookin for some good resources ( tutorial, papers ... ) to get into this domain... So if you have any informations, please let me know... ps: i already looked over google to find something, but i was probably using the wrong keyword , and i didn't find anything ... Thanks !! Clement

Share this post


Link to post
Share on other sites
Crazyfool    307
I believe he linked you to WinSock - too lazy to check. But WinSock is a good place to start, assuming you're using Windows. You can apply the knowledge to regular berkley sockets (I beleive that's what theyre called) pretty easily though.

Here is an amazing tutorial.

Share this post


Link to post
Share on other sites
RockySabre    122
well, you have to decide first if you want to code your own network layer or use ready made like DirectPlay in DirectX.. and what language are you using ?

Share this post


Link to post
Share on other sites
ClementLuminy    121
I'm using C++
And the Underlaying API for 3D rendering Is Directx.

So yes, i could use DirectPlay, but the thing is that i'm a bit "nevrotic" ( hope it work in english ... ) :)
And i yould like to make my system as mauch API agnostic as possible...

So if i use directx play, i will make an abstraction layer above it,
But i wonder if DirectPlay is not already to much spécific ....

I mean, by making my own TCPIP network layer, i think making the abstraction layer will be much more easy ....
because if 'im right TCPIP is the same everywhere...
And directPlay is not at all !!

....

Thanks again

Share this post


Link to post
Share on other sites
Sirisian    2263
Well if it is for a game, then you can always learn how to manage packets and how to serialize data. There's many source of information. If your using a Boost with C++ then there are serialization stuff contained within that.

I have a small article that I wrote which shows some simple ideas. I've seen many people try to send strings and trust me that's not the way you want to do it.
clicky

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this