2

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.

Ciaran
  • 401
  • 3
  • 13
  • 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

3 Answers3

2

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

1

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.

Ali1S232
  • 8,687
  • 2
  • 40
  • 59
0

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.

Blue Wizard
  • 806
  • 7
  • 17