Hi,
I'm wondering how to implement a client management for a socket server.
I'm having the case where I would like to know whether the client has just reconnected or if it's a new client. I know, it shouldn't be that way. It's a rather temporarily server, though, which is only to be used for a couple of hours.
I was thinking about letting every client pass its own GUID to the server. Once the server "recognizes" a client, it can get rid of the previous-held connections of that client.
How would you approach this issue? Or is it completely unapproriate this way?
Thank you!