Sign in to follow this  

Cross-platform sockets...

This topic is 3579 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

What would be a good library to use for cross-platform sockets? I'm writing an extremely simplistic multiplayer pong game in my own game framework to implement and better understand client-server communication and synchronization for my main game project I'm working on. Any tips/links regarding communication/synchronization between client/server of a FPS (or similar) game would be appreciated. What is a good cross-platform library? SDL_net? Thanks

Share this post


Link to post
Share on other sites
SDL_net is fine if you are already using SDL (it requires SDL), and if you just want to program with sockets (which you don't, unless this is just an exercise to learn sockets).

Why don't you take a look at enet, or even RakNet, which are considerably more than just platform-independent sockets, and are widely used in games.

Share this post


Link to post
Share on other sites

This topic is 3579 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