(for functions documentation, see socknet.h)
Socknet is networking library with the goal of wrapping socket programming around the concept of network modules. It allows the user to send data of a custom size between a server and multiple clients.
It is developped for use in my epitech projects so the source code abide to the epitech coding-style rules.
- GNU Compiler Collection (11.4.0+)
- GNU Make (4.3+)
- CLogger (any)
- Linked (any)
- Doxygen (1.9.1+) (only for documentation)
to build the library you can use the included Makefile:
make
It will then build the libsocknet.a
binary.
Custom Makefile rules (install
, uninstall
, reinstall
) can be used to manage installation of the library in your system:
make install
Once installed or built, you can use the library by including the library header in your source files:
#include <socknet.h>
and add the library to the linker when compiling:
gcc myfile.c -lsocknet
For more information about how to use the library, see the example client and example server.
You can also generate Doxygen documentation using the apropriate makefile rule:
make docs
once generated, just open docs/html/index.html
on your browser.