I'm a beginner and I have an assignment of making a basic chat app of two clients and a server exchanging strings which are destination+message.
I have written some code, but when I use it I'm getting this "long monitor contention event with owner method" at the other end.
Can anyone help me with how this can occur? Or can anyone tell me the cause of this in general?