Looking to learn network programming.
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
Winsocks indeed is Windows only, but it emulates the posix sockets library so you can infact compile it on a posix compliant platform. Anyways, Beej's Guide to Network Programming has to be the best free network programming tutorial I've ever seen.
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
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
I had liked this tutorial when i had read them.
http://www.gametutorials.com/Tutorials/Networking/Networking_Pg1.htm
http://www.gametutorials.com/Tutorials/Networking/Networking_Pg1.htm
Why reinvent the wheel once more?? (besides for the fun of it..Winsock can be hilarious!)
SDL_Net
and
SDL_Net documentation
Comes with code examples and portability for free
SDL_Net
and
SDL_Net documentation
Comes with code examples and portability for free
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement