A simple, cross-platform wrapper over TCP/IP sockets.
  • C 89.5%
  • C++ 5.9%
  • Perl 2%
  • Python 1.4%
  • CMake 1.1%
  • Other 0.1%
Find a file
SDL Wiki Bot 5af3b068ea Sync SDL3_net wiki -> header
[ci skip]
2026-04-05 20:57:41 +00:00
.github release: enable dmg build 2026-01-09 17:58:21 +01:00
build-scripts release: synchronize build-scripts/build-release.py 2026-01-21 21:55:19 +01:00
cmake Update wikiheaders.pl and PrivateSdlFunctions.cmake 2026-01-08 22:28:23 +01:00
examples api: Introduce NET_Status. 2025-08-09 13:29:03 -04:00
include/SDL3_net Sync SDL3_net wiki -> header 2026-04-05 20:57:41 +00:00
src unix: Clean up netlink/getifaddrs preprocessor logic a little. 2026-03-19 10:18:48 -04:00
VisualC visualc: Put examples in a subfolder. 2025-08-06 23:37:20 -04:00
Xcode Create dSYM debug information for release builds in Xcode 2026-03-15 02:09:24 -07:00
.gitignore dont .gitignore build-scripts/ 2025-12-20 14:40:24 +03:00
.wikiheaders-options api: Rename NET_GetVersion to NET_Version to match other satellite libraries. 2025-07-24 13:02:41 -04:00
Android.mk Android.mk: remove irrelevant CXX flags. 2025-08-10 18:55:02 +03:00
CMakeLists.txt cmake: do not hard-set c99: compiler default may be set to higher. 2026-01-18 05:11:10 +03:00
LICENSE.txt Updated copyright for 2026 2026-01-01 11:25:27 -08:00
README.md First shot at an SDL3_net API and implementation! WIP! 2023-09-24 03:02:56 -04:00

SDL_net 3.0

The latest version of this library is available from GitHub:

https://github.com/libsdl-org/SDL_net/releases

This is a portable network library for use with SDL. It's goal is to simplify the use of the usual socket interfaces and use SDL infrastructure to handle some portability things (such as threading and reporting errors).

It is available under the zlib license, found in the file LICENSE.txt. The API can be found in the file SDL_net.h and online at https://wiki.libsdl.org/SDL3_net This library supports most platforms that offer both SDL3 and networking.

This is a work in progress!

Enjoy!