Functions
websocket_echo_server.c File Reference
#include <string.h>
#include <time.h>
#include "mongoose.h"
Include dependency graph for websocket_echo_server.c:

Go to the source code of this file.

Functions

static int ev_handler (struct mg_connection *conn, enum mg_event ev)
int main (void)
static void push_message (struct mg_server *server, time_t current_time)
static int send_reply (struct mg_connection *conn)

Function Documentation

static int ev_handler ( struct mg_connection conn,
enum mg_event  ev 
) [static]

Definition at line 35 of file websocket_echo_server.c.

int main ( void  )

Definition at line 43 of file websocket_echo_server.c.

static void push_message ( struct mg_server server,
time_t  current_time 
) [static]

Definition at line 8 of file websocket_echo_server.c.

static int send_reply ( struct mg_connection conn) [static]

Definition at line 21 of file websocket_echo_server.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09