We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I'm trying to make a simple networking program and I have a list on the server side that keeps hold of all the clients that are currently connected. I can get it to add clients with:
void serverEvent(Server server, Client client) {
}
How can I do the above but instead of running when a client connects, run when a client disconnects?
Answers
https://Processing.org/reference/libraries/net/disconnectEvent_.html