Kuro wrote:
> The fall back polling code does not work. Not with my Pogoplug or iMac
> (10.8.4). What I did was keeping the client unchanged, but turned off
> one server and powered on another server, so the new server has a
> different IP.
>
> As I mentioned before, if "-d all=debug" is specified, the code works.
> But when debug is off, squeezelite simply sits there, not timing out,
> hence not polling for a new server.
>
> It seems the code is blocking indefinitely in slimproto.c, on line 701,
> when debug is off:
>
> if (connect(sock, (struct sockaddr *) &serv_addr,
> sizeof(serv_addr)) <
> 0) {
Could you try the latest git version - I've moved to non blocking for
this connect and it should allow timeout to work (rather than relying on
the OS to timeout)
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix