I am hosting a MooSock server. There are a few people connected.
I want people to be able to log in. So, I want to save which CONNECTION is logged in, and which ones aren't.
I have it set up to select sockets on triggered events.
I was going to use the named variable object to save information about each connected Connection. But by what am I suppose to save info?
The only thing I can get is people's IP. That's not useful. I could have people come in from behind a router, in which case I have many connections with the same IP, none of which I can differentiate between.
I need to get the connection ID or socket ID or something unique to each connection, that will never repeat.
Edit: Oh, "Set Socket Property" is associated with the selected socket. That makes it much more useful. Excellent. hehe