jf-framework
Loading...
Searching...
No Matches
server.h File Reference
#include <export.h>
#include <netinet/in.h>
#include <router.h>
#include <stdint.h>
Include dependency graph for server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Server

Functions

 __attribute__ ((visibility("default"))) Server *jf_CreateServer(int32_t port)
uint32_t jf_HandleClient (Server *server)
 Handles connections.

Variables

Router * router

Detailed Description

Author
Avis

Function Documentation

◆ jf_HandleClient()

uint32_t jf_HandleClient ( Server * server)

Handles connections.

Authors
Victor, Avis
Returns
Returns 1 on failure, 2 on success
Here is the call graph for this function:
Here is the caller graph for this function: