Disconnect

Network Programming in Java - #9 - Chat System #4 - Client Disconnect Listener

Introduction: This tutorial is the ninth in my Java Network Programming using KryoNet series, or fourth in creating a chat client and server system, in which we are going to be handling disconnected clients. Previous: In the previous tutorial we created a way to receive and send messages through a new Packet2Message class to and from our server/client. The System: We are going to give the user a GUI to interact with the system - to send messages and see the currently connected members of the chat. When a client connects, add them to a list.