Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.54 KB

File metadata and controls

59 lines (37 loc) · 1.54 KB

SockNet

(for functions documentation, see socknet.h)

C socket programming made easy (hopefully)

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.

Dependencies

Building

to build the library you can use the included Makefile:

make

It will then build the libsocknet.a binary.

Installing

Custom Makefile rules (install, uninstall, reinstall) can be used to manage installation of the library in your system:

make install

Usage

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.