SOLA
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisi::network_tcp::Client Class Reference

#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
 
Clientoperator= (const Client &)=delete
 
 Client (const Client &&)=delete
 
Clientoperator= (Client &&)=delete
 
void send (const std::string &msg)
 
uint16_t getPort () const
 
Ipv4 getIP () const
 
bool isConnected () const
 

Detailed Description

ns-3 client to connect to a single listening ns-3 TCP sockets and send/recv data

Member Function Documentation

◆ send()

void Client::send ( const std::string &  msg)

Send message

Parameters
msgmessage to send

The documentation for this class was generated from the following files: