I have a a Server which connects to a PIC. Right now it just connects to 1 client. I want to convert it into a multi threaded multi-client Server so that each thread services a client. i also want it to detect clients if they become disconnected. I will be using the server to send/recieve data to the PIC so the server must be optimised for that.