This is a minimal low-level wrapper of POSIX and Winsock sockets, tested on Ubuntu 24.04 LTS and Windows 11.
- Clone this repository to your main project, e.g.
libs/SimpleUDP - Add to CMake:
add_subdirectory(libs/SimpleUDP) - Link to your target:
target_link_libraries(your_target SimpleUDP) - Include the header in your source files:
#include <udp/simple_udp.h>
- Build the library:
cmake -B build && cmake --build build - Run the test example:
./build/SimpleUdpExampleorbuild/Debug/SimpleUdpExample.exe
This project is licensed under the MIT License.