improving XO connectivity rates

pgf at laptop.org pgf at laptop.org
Mon Mar 16 16:56:15 EDT 2009


martin wrote:
 > On Tue, Mar 17, 2009 at 2:36 AM, Daniel Drake <dsd at laptop.org> wrote:
 > > Actually, the connection succeeds, the problem is that the
 > 
 > Good debugging!
 > 
 > > you can find the
 > > .c source on the ticket and compile it yourself
 > 
 > the thread on the dbus list is quite scary. OTOH, your patch made my
 > morning. The right fix will take a lot of hair pulling. Nothing that a
 > spartan
 > 
 >      sleep(3);
 > 
 > can't "fix".

i cringe every time i see a sleep in code like this -- network
setup takes long enough as it is.  any chance one could get a
similar workaround by instead asking for or sending some more
data?  e.g., if one sent the same message twice (knowing that the
recipient would ignore dups), then it wouldn't matter if the
second one sometimes didn't make it.

paul
=---------------------
 paul fox, pgf at laptop.org



More information about the Devel mailing list