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

#include <server.h>

Public Member Functions

 Server (ServerCallbacks callbacks)
 
 Server (const Ipv4 &ip, ServerCallbacks callbacks)
 
 Server (const Server &)=delete
 
Serveroperator= (const Server &)=delete
 
 Server (const Server &&)=delete
 
Serveroperator= (Server &&)=delete
 
void send (TcpSocketHandle receiver, const std::string &msg)
 
uint16_t getPort () const
 
Ipv4 getIP () const
 

Detailed Description

Class representing a ns-3 server listens for incoming ns-3 TCP connections and send/recv data

Member Function Documentation

◆ send()

void Server::send ( TcpSocketHandle  receiver,
const std::string &  msg 
)

Send message

Parameters
receiverReceiver to send msg to
msgmessage to send

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