Socket interface written in C to make networking and programming in C less painful.
-
Find or create an empty directory and clone the repo with the following command:
-
$ git clone https://github.com/spencerbartz/c-rations.git
-
Locate the directory named "csocketutils/" in your empty directory from step 1
-
Enter the csocketutils/ directory from the command line like this: $ cd csocketutils
-
Once inside the directory, run the following: $ make clean (Removes residual compiled files) $ make cleanlib (Removes libraries used by c-rations) $ make all (Compiles csocketutils.c, creates libsocketutils.a library) $ make package (Wraps library for usage by programmers)