SOLA
|
#include <server.h>
Public Member Functions | |
Server (ServerCallbacks callbacks) | |
Server (const Ipv4 &ip, ServerCallbacks callbacks) | |
Server (const Server &)=delete | |
Server & | operator= (const Server &)=delete |
Server (const Server &&)=delete | |
Server & | operator= (Server &&)=delete |
void | send (TcpSocketHandle receiver, const std::string &msg) |
uint16_t | getPort () const |
Ipv4 | getIP () const |
Class representing a ns-3 server listens for incoming ns-3 TCP connections and send/recv data
void Server::send | ( | TcpSocketHandle | receiver, |
const std::string & | msg | ||
) |
Send message
receiver | Receiver to send msg to |
msg | message to send |