2
\$\begingroup\$

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.

| improve this question | | | | |
\$\endgroup\$
  • \$\begingroup\$ 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? \$\endgroup\$ – Philipp Apr 23 '15 at 10:53
1
\$\begingroup\$

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.

| improve this answer | | | | |
\$\endgroup\$
  • \$\begingroup\$ Have SDL downloaded now. Will try it. \$\endgroup\$ – Ciaran Jan 2 '12 at 23:25
2
\$\begingroup\$

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

| improve this answer | | | | |
\$\endgroup\$
  • \$\begingroup\$ Will do. Have heard about enet so its worth a look. \$\endgroup\$ – Ciaran Jan 2 '12 at 23:26
0
\$\begingroup\$

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.

| improve this answer | | | | |
\$\endgroup\$

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