We are about to switch to a new forum software. Until then we have removed the registration on this forum.
when many no. clients are connected with the server and for any reason when clients disconnected or closed socket with server , how to identify which of the clients disconnected from server at server side application program.
I am new to processing, can we use disconnectEvent at server side? In above link's example this is used in the client side sketch . My question is when a server is created using some port and many no of clients can be connected on that port. Data can be send and receive on that port with the conneced clients. But when perticular client is disconnected by link down or client closes connection or by any other reason that time how server identify that client. Is there any method or technique to solve the above problem?
Got no experience w/ Network library. The API available for Server is:
Plus the serverEvent(): https://Processing.org/reference/libraries/net/serverEvent_.html