Multithreaded TCP server [SOLVED]

This problem has been already fixed.I’m getting an EOF problem shown at the end of this topic;

If anyone knows a way to fix it…

Tnx.