Branch: Tag:

2013-09-03

2013-09-03 20:28:40 by Tobias S. Josefowitz <tobij@tobij.de>

Opt out of SO_REUSEADDR in Stdio.UDP->bind() users.

127:    T_ANY=255,   };    - int safe_bind(Stdio.UDP udp, mixed ... args) + int safe_bind(Stdio.UDP udp, string|int port, string|void device)   {    mixed err = catch { -  udp->bind(@args); +  udp->bind(port, device, 1);    return 1;    };   #if constant(System.EADDRINUSE)