|
|
@ -12,11 +12,11 @@ make
|
|
|
|
|
|
|
|
|
|
|
|
There are a few optional targets, which enable specific functionality.
|
|
|
|
There are a few optional targets, which enable specific functionality.
|
|
|
|
|
|
|
|
|
|
|
|
`allwarn - enable all warnings`
|
|
|
|
`allwarn - enable all warnings`
|
|
|
|
`debug - compile with 'debug' flag`
|
|
|
|
`debug - compile with 'debug' flag`
|
|
|
|
`static - compile as statically linked library - NOT IMPLEMENTED`
|
|
|
|
`static - compile as statically linked library - NOT IMPLEMENTED`
|
|
|
|
|
|
|
|
|
|
|
|
They can be used as follows:
|
|
|
|
They can be used as follows:
|
|
|
|
`make [TARGET NAME]`
|
|
|
|
`make [TARGET NAME]`
|
|
|
|
___
|
|
|
|
___
|
|
|
|
### Installation
|
|
|
|
### Installation
|
|
|
@ -36,7 +36,7 @@ To use the library, simply include the header file:
|
|
|
|
#include <easysock.h>
|
|
|
|
#include <easysock.h>
|
|
|
|
...
|
|
|
|
...
|
|
|
|
```
|
|
|
|
```
|
|
|
|
and link the library:
|
|
|
|
and link the library:
|
|
|
|
` gcc example.c -o example -leasysock`
|
|
|
|
` gcc example.c -o example -leasysock`
|
|
|
|
___
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|