MUN1Z / KingNetwork

KingNetwork is an open source library to facilitate the creation and communication of clients and servers via TCP, UDP, WebSocket and RUDP sockets.
https://github.com/Mun1z/KingNetwork
MIT License
99 stars 21 forks source link

can add rooms to the socket? #8

Closed bag7dad closed 2 years ago

bag7dad commented 3 years ago

can add rooms to the socket? so the client can Join any room and send message to a specific room

MUN1Z commented 2 years ago

In the library they don't have this logic of rooms, usually this is something specific to your game or application, so it's up to the developer to implement it on your server, you know? But nothing prevents you from creating this logic and using KingNetwork or any other socket library, as it is something uncoupled from the socket.