Skip to main content
gamedev.net
🔒 Locked

turn based strategy game

Started by Rasterman Aug 2, 2007 at 2:00 PM 0 replies 1k views
Original Post
Rasterman
Rasterman
I am adding multiplayer network support for my turn based strategy game and was wondering what network libraries you recommend I use? I need it to work on Windows, Windows CE, and Mac OSX, so I think a low level library might be my best bet, such as HawkNL or PLib. I wanted to use a high level library such as Raknet, but it doesn't work in MSVC6, and probably not in EVC4 due to templates, but I could probably fix that without too much hassle. The game will have a low bandwidth, so I am planning on using TCP only, and will support up to 16 players simultaneously. I did quite a bit of network programming about 5 years go, so I'm not afraid of rolling my own from winsock, but I think a library would be a much better place to start, don't you think?
hplus0603
hplus0603
For TBS, you can probably get away with just coding up a regular TCP loop, using select() and send()/recv(). If you want a low-level simple encapsulation, try something like Etwork or Plib.

Btw: dump that MSVC 6. It's ten years old. Microsoft is giving away MSVC 2005 for free (in the form of the Express version). Use it -- it's tons better!
For the other targets, I assume you'll be using GCC version 4.x, which has pretty good template support as well.
enum Bool { True, False, FileNotFound };

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.