Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can somebody recommend a free C++ open source library which I will use to build a networked game using UDP. Must be available for Windows/Linux/Mac. As lightweight as possible please.

share|improve this question

closed as off-topic by Philipp, Anko, Kromster, Josh Petrie Apr 23 '15 at 15:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Anko, Kromster, Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

    
What exactly is the problem you want the library to solve? When "lightweight" is your only requirement, the correct answer would be "no library - use plain sockets". But obviously there is some other requirement you want to have fulfilled. What is it? – Philipp Apr 23 '15 at 10:53
up vote 1 down vote accepted

There are some libraries which may do even more than what you need, not very light weight but completely reliable I think you can even use the Net portion of the library instead using them as a whole:

you can also take a look at this question.

share|improve this answer
    
Have SDL downloaded now. Will try it. – Ciaran Jan 2 '12 at 23:25

You could try http://enet.bespin.org/.

share|improve this answer
    
Will do. Have heard about enet so its worth a look. – Ciaran Jan 2 '12 at 23:26

I highly recommend RakNet; it's relatively lightweight and implements a virtual connection over UDP for you (you don't have to manually send acks). I've had great success in using it across multiple projects.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.