To build and use SDL_net:

May 19, 2026 ยท View on GitHub

SDL_net supports a number of development environments:

SDL_net is also usable in other environments. The basic steps are to use CMake to build the library and then use the headers and library that you built in your project. You can search online to see if anyone has specific steps for your setup.

Documentation

An API reference and additional documentation is available at:

https://wiki.libsdl.org/SDL3_net

Example code

There are simple example programs in the examples directory.

If you're using CMake, you can build them adding -DSDLNET_SAMPLES=ON to the CMake command line when building SDL_net.

If you're using Visual Studio there are separate projects in the VisualC directory.

If you're using Xcode there are separate projects in the Xcode directory.

Discussions

Discord

You can join the official Discord server at:

https://discord.com/invite/BwpFGBWsv8

Forums/mailing lists

You can join SDL development discussions at:

https://discourse.libsdl.org/

Once you sign up, you can use the forum through the website or as a mailing list from your email client.

Announcement list

You can sign up for the low traffic announcement list at:

https://www.libsdl.org/mailing-list.php