On 13 July 2010 17:15,  <[email protected]> wrote:
> +       try_port = ( currticks() % 64512 ) + 1023;

Probably should use random() here. Currently it's not much better, but
might be in the future :)

Otherwise I like it as I did the same thing when testing in userspace
to not get so many collisions.

-- 
Best Regards
Piotr Jaroszyński
_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to