Sign in to follow this  
disanti

Looking to learn network programming.

Recommended Posts

I'm starting to spark an interest in multiplayer game programming, I've searched on Google about it and it appears that games use TCP/IP or UDP/IP and "sockets". I've been trying to find a free library that works on both Linux and Windows for socket programming. "SYS/Socket.h" isn't included in Visual C++ so I can't use that. Winsock is for Windows only so that is crossed out! ;) Raknet is supposedly free but I'm not 100% sure on that because the website had commercial versions of it too. Any help is appreciated! Thanks~ John DiSanti

Share this post


Link to post
Share on other sites
Hi,

Also, check out this book excerpt here:

Mud Game Programming - Chapter 1 - Introduction to Network Programming

It talks a bit about history, and some about the two most widespread kinds of sockets.

Also, while they differ a little bit, it is pretty easy to write some code, with a few conditional compilation symbols, to be cross-platform.

Vovan

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