Even if you could share sockets like that (I don't think you can), every client that connected would replace the $client variable, you can't have more than one client connection referred to by the same variable.
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: sharing variables with threads
by jasonk
in thread sharing variables with threads
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |