I have 3 main threads in my server project.
- (TCP) Socket accept and client setup operations
- Incoming data handler (TCP&UDP) and processor (maybe login, lobby etc.)
- Outgoing data handler (TCP&UDP) and processor (sends data via UDP or TCP to clients..)
And I want to ask in here, is it good way to do it? Namely maybe while data processing (login) client#32 can be disconnected and in this case a new client can connect as client#32, that means he logged in without a login check (I guess, I don't know am I right?). Now can anybody tell me something about this server system?