Just an update! I commented out $unitID and the error has gone.
Gah! I cannot believe I left that in. And uncommented. Because all my test clients run locally, I had to find another way of distinguishing gprs from cmd client. So I used a hardcoded unitID.
The two conditional lines are intended to be either/or, your system or mine.
Does it now work? (Except for exhibiting the same failure to disconnect problem!)
In reply to Re^9: Non closing sockets - threads
by BrowserUk
in thread Non closing sockets - threads
by igor1212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |