NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
echo_client.cpp File Reference
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/client.hpp>
#include <iostream>
Include dependency graph for echo_client.cpp:

Go to the source code of this file.

Typedefs

typedef websocketpp::client< websocketpp::config::asio_clientclient
 
typedef websocketpp::config::asio_client::message_type::ptr message_ptr
 

Functions

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

Typedef Documentation

◆ client

◆ message_ptr

Function Documentation

◆ on_message()

void on_message ( client c,
websocketpp::connection_hdl  hdl,
message_ptr  msg 
)

Definition at line 44 of file echo_client.cpp.

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

Referenced by main().

◆ main()