ralphy wrote: 
> I uploaded '1318-test3'
> (https://sourceforge.net/projects/lmsclients/files/squeezelite/windows/squeezelite-1.9.8-1318-test3-win32.zip/download)
> which prints the error code for the slimproto socket calls as well. 
> You'll find a patch file included in that zip with the changes.

Ok, so I got the test3 build, and ran some more tests. 
Looking at the patch file, I see that the changes. Now
slimproto.send_packet() is now showing the last_error instead of
strerror(last_error). 
The same change was made to  stream.send_header().

When I ran the test, the socket error came up once by itself, and the
same error code is now reported in both functions:


[15:16:35.171] process_strm:280 strm command t
[15:16:35.180] sendSTAT:195 STAT: STMt
[15:16:36.211] sendSTAT:195 STAT: STMt
[15:16:37.231] sendSTAT:195 STAT: STMt
[15:16:39.231] sendSTAT:195 STAT: STMt
[15:18:04.091] stream_thread:404 end of stream
[15:18:40.430] sendDSCO:214 DSCO: 0
[15:18:40.430] send_packet:114 failed writing to socket: 2745
[15:18:40.430] sendSTAT:195 STAT: STMt
[15:18:40.430] send_packet:114 failed writing to socket: 2745
[15:18:40.430] slimproto_run:563 error reading from socket: 2745
[15:18:40.571] slimproto:932 connected
[15:18:40.571] sendHELO:148 mac: dc:41:a9:a3:eb:a1
[15:18:40.571] sendHELO:150 cap:
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.8-1318-test3,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,aac,ogg,ops,ogf,flc,aif,pcm,mp3

The error code 2745 was reported now in both functions, which is no
surprise. I tried searching the web for .h files with these error-codes
but I couldn't find it. 
I'd be curious to know what this error code means. 

Today, I did a whole lot of testing of various scenarios to try to
narrow down the problem a bit further, but so far, the problem remains
elusive.


------------------------------------------------------------------------
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