Thank you Eliya! It's working!
But why the thread that's running 'in the background' must know about connection?
It's better if sleeping function knows only how to sleep and listeningClient function knows how to work with client.
May be it's a bag in perl thread implementation?
In reply to Re^2: unclear TCP client session block
by Evgenij
in thread unclear TCP client session block
by Evgenij
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |