u_respond (int j)
{
    if (!u[j].active)
        return;

    response_id (u[j].id);
    if (response_len > 512)
        response_tc ();
    socket_send4 (udp53, response, response_len, u[j].ip, u[j].port);

    if (debug_level)
        log_querydone (&u[j].active, response_len);

    u[j].active = 0;
    --uactive;
}
u_respond (int j)
{
    if (!u[j].active)
        return;

    response_id (u[j].id);
    if (response_len > 512)
        response_tc ();
    socket_send4 (udp53, response, response_len, u[j].ip, u[j].port);

    if (debug_level)
        log_querydone (&u[j].active, response_len);

    u[j].active = 0;
    --uactive;
}