I think your problem is that you don't differentiate a new connection, from an existing connection. The code shows how it's done, and those scripts are pretty close to the way C would do it.
You do the initial accept with the main thread, then let the threads handle the connection.
In reply to Re: Socket client thread design problem
by zentara
in thread Socket client thread design problem
by photron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |