mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01: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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue