- Notifications
You must be signed in to change notification settings - Fork5
☢️ An up-to-date Source Server Query protocol library written in C99
License
NotificationsYou must be signed in to change notification settings
BinaryAlien/libssq
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
☢️ An up-to-dateSource Server query protocol library written in C99.
This library supports each of the three undeprecated A2S queries:
- A2S_INFO,
- A2S_PLAYER,
- and A2S_RULES.
It hasno dependencies and is designed to cross-compile on bothWindows andUNIX-like operating systems.
It doesnot currently supportGoldsource norcompressed responses.
Up-to-date documentation with examples is available onthe wiki.
This project uses theCMake build system generator.
- Produce astatic library from the root of the repository using CMake.
cmake -B builddircmake --build builddir
- Produce adynamic library from the root of the repository using CMake.
cmake -B builddir -DBUILD_SHARED_LIBS=ONcmake --build builddir
- (GNU/Linux) Compile theexample program usingGCC.
gcc -std=c99 -Iinclude example/example.c -o ssq -Lbuilddir -lssq
About
☢️ An up-to-date Source Server Query protocol library written in C99