|
Fennet
Lightweight HTTP server library for C
|
HelloClient example. More...
#include <fennet/lib.h>#include <arpa/inet.h>#include <netinet/in.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <unistd.h>Go to the source code of this file.
Macros | |
| #define | PORT 8080 |
Functions | |
| int | main (int argc, char **argv) |
| Entry point of the HelloClient Example. More... | |
HelloClient example.
HelloServer is a simple example of fennet's usage, it connects to an HTTP server and prints it's response.
Definition in file main.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Entry point of the HelloClient Example.
*
Definition at line 27 of file main.c.