If we can't bind a few ports out of a port specifier, fine, we don't want to bother the user with that. But running out of files on '-t all' or similar is something different: patch 3/3 fixes this, 1/3 and 2/3 are preparation steps. Stefano Brivio (3): tcp, udp, util: Pass socket creation errors all the way up tcp, udp: Fix partial success return codes in {tcp,udp}_sock_init() conf: Terminate on EMFILE or ENFILE on sockets for port mapping conf.c | 36 +++++++++++++++++++++++++++++------- tcp.c | 29 ++++++++++++++--------------- udp.c | 44 +++++++++++++++++++++----------------------- util.c | 31 ++++++++++++++++++------------- 4 files changed, 82 insertions(+), 58 deletions(-) -- 2.39.2