NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

Definition at line 51 of file scratch_server.cpp.

Definition at line 53 of file scratch_server.cpp.

Function Documentation

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

Definition at line 56 of file scratch_server.cpp.

References websocketpp::endpoint< connection, config >::send().

Referenced by main().