infinte loop out side main in c
Hello I am trying to create an mutli chat application using c on Linux
I am using threads each thread is responsible for a client in the thread function I want an infinite loop it can send and recv message forever while socket is open
but it breaks after 20 loops or so..
why is this happening and how can i fix it?
Thank you
infinte loop out side main in c
===

Hello I am trying to create an mutli chat application using c on Linux
I am using threads each thread is responsible for a client in the thread function I want an infinite loop it can send and recv message forever while socket is open
but it breaks after 20 loops or so..
why is this happening and how can i fix it?
Thank you