NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
scratch_server.cpp File Reference
Include dependency graph for scratch_server.cpp:

Go to the source code of this file.

Classes

struct  deflate_config
 This example is presently used as a scratch space. More...
 
struct  deflate_config::transport_config
 
struct  deflate_config::permessage_deflate_config
 permessage_compress extension More...
 

Typedefs

typedef websocketpp::server< deflate_configserver
 
typedef server::message_ptr message_ptr
 

Functions

void on_message (server *s, websocketpp::connection_hdl hdl, message_ptr msg)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ server

Definition at line 51 of file scratch_server.cpp.

◆ message_ptr

Definition at line 53 of file scratch_server.cpp.

Function Documentation

◆ on_message()

void on_message ( server s,
websocketpp::connection_hdl  hdl,
message_ptr  msg 
)

◆ main()