mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
feat: max clients connected limit in TcpServer
This commit is contained in:
parent
2f15a1a8d4
commit
2895cff5f2
4 changed files with 37 additions and 8 deletions
|
|
@ -78,6 +78,8 @@ namespace network {
|
|||
class Server {
|
||||
public:
|
||||
virtual ~Server() = default;
|
||||
|
||||
virtual void update() = 0;
|
||||
virtual void close() = 0;
|
||||
virtual bool isOpen() = 0;
|
||||
[[nodiscard]] virtual TransportType getTransportType() const noexcept = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue