I’ve made a simple server and client. The server allows a specific amount of clients to connect to it and will only accept messages from those clients. It regularly sends heartbeat messages to the clients and if a certain amount of time has passed since they responded to one of those messages, it’s assumed that the connection has been severed for some reason and that client is removed from the server.

Be Sociable, Share!
Comment Feed

No Responses (yet)

You must be logged in to post a comment.