I think at least part of the problem is that $Sock is not declared as shared
That's not the problem. $Sock will be cloned (dup'ed) into the Web thread.
In reply to Re^6: Thread weirdness
by BrowserUk
in thread Thread weirdness
by j0nny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |