bpa wrote: 
> A few years ago - some 3rd party security software used to insert
> themselves into the Winsock stack to catch malware which used "pipes" -
> a few caused strange problem with LMS.
> To check if the security software was the problem, it had to be
> uninstalled, disabling it was *not* sufficient to stop its bad
> behaviour.
> 
> Have you got non Microsoft security software installed ?

>From the OP: On all my Windoze machines, the Microsoft-provided security
software is the only one I have. I don't have any 3rd party anti-virus
or anti-malware software installed. As previously noted, I also ran the
same test on a brand-new laptop with not much software installed on it.
I agree that Windoze OS is implicated, but what's causing it? We've seen
the WSAECONNABORTED which only tells us what we already know, which is
that the connection was closed, but why was it closed? 

I think that the suggestion above points towards the cause. The
Squeezelite client has a socket open, and suddenly, there is no socket.
Consider: SqueezeLite on RaspberryPi with TinyLinux has no issues, but
only Windows machines have the issue. While the source code for
SqueezeLite is (almost) identical between these two OS, they have very
different TCP/IP transport implementations. It is therefore plausible
that the root cause is in the way SqueezeLite manages its socket
connections on Windows -- or the Winsock itself. (utils.c, stream.c,
slimproto.c) 
For example:

Code:
--------------------
    #if WIN
        u_long iMode = 1;
        ioctlsocket(s, FIONBIO, &iMode);
  #else
        int flags = fcntl(s, F_GETFL,0);
        fcntl(s, F_SETFL, flags | O_NONBLOCK);
  #endif
--------------------

Here we can see the difference between Windows and Linux
implementations. 

Since I'm the only crazy person that seems to have this problem, I need
to find one build of Windows that doesn't show this problem. That could
be done by stripping Windows down, piece by piece, until the problem
disappears. Or, I could stand up a Windows VM, either Windows7 or an
older Windows10 with no software installed. Right now, I don't have
Hyper-V or VirtualBox set up, so that could take some time. I'll try
that later tonight. And if anyone else has any other suggestions, i'm
all ears.


------------------------------------------------------------------------
foopydog's Profile: http://forums.slimdevices.com/member.php?userid=71156
View this thread: http://forums.slimdevices.com/showthread.php?t=113554

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

Reply via email to