SOLA
|
#include <client.h>
Public Member Functions | |
Client (ClientCallbacks callbacks, const Endpoint &endpoint) | |
Client (const Ipv4 &own_ip, ClientCallbacks callbacks, const Endpoint &endpoint) | |
Client (const Client &)=delete | |
Client & | operator= (const Client &)=delete |
Client (const Client &&)=delete | |
Client & | operator= (Client &&)=delete |
void | send (const std::string &msg) |
uint16_t | getPort () const |
Ipv4 | getIP () const |
bool | isConnected () const |
ns-3 client to connect to a single listening ns-3 TCP sockets and send/recv data
void Client::send | ( | const std::string & | msg | ) |
Send message
msg | message to send |