pike.git / lib / modules / Protocols.pmod / DNS.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/DNS.pmod:263:      int safe_bind(Stdio.UDP udp, string|int port, string|void device)   {    mixed err = catch {    udp->bind(port, device, 1);    return 1;    };   #if constant(System.EADDRINUSE)    if (errno() == System.EADDRINUSE) return 0;   #endif + #if constant(System.WSAEACCES) +  if (errno() == System.WSAEACCES) return 0; + #endif    werror("Protocols.DNS: Binding of UDP port failed with errno %d: %s\n",    errno(), strerror(errno()));    master()->handle_error(err);    return 0;   }      //! Low level DNS protocol   class protocol   {    string mklabel(string s)