Kuro wrote: 
> Finally managed to recompile the code on Pogoplug and Mac OS X (10.8.3).
> Wasted too much time trying to get the ARM Toolchain to work on my Mac.
> Far easier to get it to compile on the Pogoplug instead.
> 
> The fallback to discovery works only when I run it on the console with
> "-d all=debug".  If I initiate it as a background process, then it does
> not work.  I also see that sometimes it sits there for a long time while
> in debug mode, like this:
> 
> [11:44:49.455281] slimproto_run:452 error reading from socket: closed
> [11:44:49.556284] slimproto:701 unable to connect to server 0

What machine is this on?  Can you explain the exact test cases.

The code calls sleep(5) straight after the unable to connect debug line,
and should then call connect again - I suspect this second call blocks,
but I would expect it to time out after 30 seconds or so?  It may be
that the case you are testing needs to timeout the connect 5 times
before it falls back to discovery mode.  I'd like to understand what
this case is.


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

Reply via email to