#include <network.hpp>
◆ NetworkManager()
NetworkManager::NetworkManager |
( |
| ) |
|
◆ ~NetworkManager()
NetworkManager::~NetworkManager |
( |
| ) |
|
◆ close()
void NetworkManager::close |
( |
| ) |
|
◆ init_as_client()
bool NetworkManager::init_as_client |
( |
const char * | host, |
|
|
int | port = 36000 ) |
◆ init_as_host()
bool NetworkManager::init_as_host |
( |
int | port = 1234 | ) |
|
◆ receive_paddle_state()
bool NetworkManager::receive_paddle_state |
( |
PaddleState & | state | ) |
|
◆ send_paddle_state()
void NetworkManager::send_paddle_state |
( |
const PaddleState & | state | ) |
|
◆ is_host
bool NetworkManager::is_host |
|
private |
◆ peer_address
IPaddress NetworkManager::peer_address |
|
private |
◆ receive_packet
UDPpacket* NetworkManager::receive_packet |
|
private |
◆ send_packet
UDPpacket* NetworkManager::send_packet |
|
private |
◆ socket
UDPsocket NetworkManager::socket |
|
private |
The documentation for this class was generated from the following files: