Branch: Tag:

2014-12-04

2014-12-04 19:24:05 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)