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_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17