I might have a handle on this.  Your logs gave me a clue.  And the
question I needed to answer was, "How can Telnet.Connect? possible
return True _*AFTER*_ Telnet has been disconnected.  In digging through
the Telnet socket code library I use, I learned that calling
Telnet.Connected? will return true even if Telnet has has been
disconnected, if its data buffer is not empty.  SLX reads the data out
of that buffer immediately any time data is available, and so it should
be empty (and certainly almost always is)...BUT, I suppose, timing could
be such that it is not.  I think clearing the Telnet input buffer before
disconnecting should prevent Telnet.Connect? from returning true when it
shouldn't.

I just cancelled the v2.4.6 I submitted to the store so I can resubmit
with this fix according to this theory.

Thanks for your dogged persistence, help, and patience!

R Greg Dawson



Squeezelite-X
------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to