I have a TCPMultiThreadServer with 2 clients the code is basically working fine. However i want the chat to end once the messages received from the client reaches 8. However as there is 2 clients i need to distinguish which client is which and when client 1 reaches 8 messages the end chat and same when client 2 reaches 8.
Can someone please help me with this?
Can someone please help me with this?