I'm writing a threaded cross-platform application (Linux/Windows) using SDL and OpenGL, and to do networking I was considering SDL Net2 because it sits on top of SDL_Net.
However, I've never done networking in C/C++ before, so I'm unfamiliar with any available cross-platform technologies. Is there anyone with experience with SDL_Net or Net2 who would suggest a different library?
boost::asio is your friend. It is cross platform async io library. Good for network. With a lot of samples on the boost site. http://www.boost.org/
Try Boost.Asio perhaps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With