ScrollerBlaster
ScrollerBlaster

Reputation: 1598

Cross platform C++ UDP socket library

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.

Upvotes: 3

Views: 11440

Answers (3)

Lorenzo Pistone
Lorenzo Pistone

Reputation: 5188

http://enet.bespin.org/

A very advanced C UDP-based library, with multiplexing, reliable/unreliable/unsequenced/fragmented delivery. Cross platform. Used and created for an established open source game (Cube 2: Sauerbraten), and if you nibble at its mailing list, you'll see that it's sometimes used for commercial games too.

Upvotes: 3

ascobol
ascobol

Reputation: 7696

I'm not using networking myself in C++ but I would give Boost asio a try if I had to do networking.

Upvotes: 1

Some programmer dude
Some programmer dude

Reputation: 409136

How about SDL_Net? Not C++ really, but is lightweight and cross-platform.

Upvotes: 4

Related Questions