![]() |
Nexus Engine
v0.0.1
|
Public Member Functions | |
| bool | Listen (uint16 port) |
| void | Stop () |
| std::vector< ClientId > | AcceptPending () |
| std::vector< std::pair< ClientId, std::vector< byte > > > | PollAll () |
| bool | SendTo (ClientId id, std::span< const byte > framedData) |
| bool | SendTo (ClientId id, std::vector< byte > &&framedData) |
| void | Broadcast (std::span< const byte > framedData) |
| usize | ClientCount () const noexcept |
| std::vector< ClientId > Nexus::Network::TCPServer::AcceptPending | ( | ) |
| void Nexus::Network::TCPServer::Broadcast | ( | std::span< const byte > | framedData | ) |
|
nodiscardnoexcept |
| bool Nexus::Network::TCPServer::Listen | ( | uint16 | port | ) |
| void Nexus::Network::TCPServer::Stop | ( | ) |