feat: max clients connected limit in TcpServer

This commit is contained in:
MihailRis 2025-10-05 22:52:55 +03:00
parent 2f15a1a8d4
commit 2895cff5f2
4 changed files with 37 additions and 8 deletions

View file

@ -37,6 +37,8 @@ namespace network {
[[nodiscard]] TransportType getTransportType() const noexcept override {
return TransportType::TCP;
}
virtual void setMaxClientsConnected(int count) = 0;
};
class UdpServer : public Server {