On 7 April 2022 13:38:48 CEST, [email protected] wrote: >Hello all together, > >I’m using the busybox arping version to scan a larger number of systems. Lots >of these systems don’t answer to the arping request. >Due to the implementation of arping, the timeout has to be at least one second >which leads to the fact that the scan duration is artificially extremely >lengthened. After looking into the source code, I found out that this is >mainly because the function alarm() is used. >After a simple adjustment of the timeout parameters and changing alarm(1) to >ualarm(10000) I have achieved my desired behavior. > >Is there reason to use alarm() instead of ualarm() that I’m seeing here?
ualarm was removed in POSIX.1-2008 thanks, _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
