+ for (i = 0; i < 10; i++) {
+ snprintf(sun->sun_path, sizeof(sun->sun_path), "%s/%s:%u", sockdir,
+ inet_ntop(AF_INET, &sin->sin_addr, buf, sizeof(buf)),
+ randrange(minautoport, maxautoport));
+ if (unix_socket_status(sun, 1) == UNUSED) goto found;
+ }