any socket programmer ??
I have a problem with socket programming , I have implemented multiple clients single server through Select System call and it is working fine. i am trying to implement Multithreading in that multiclient single server Code But i m not succeeded ,please help .
How to implement multithreading in multiclient single server code.( Select System call )
When ever you get a connection just spawn another thread. Let that thread deal with everything for that socket. Once the socket closes have the thread kill itself.