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?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.