Sign in to follow this  

turn based strategy game

This topic is 3787 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

This topic is 3787 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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