socketfree (struct dns_transmit *d)
{
    if (!d->s1)
      return;
    close (d->s1 - 1);
    d->s1 = 0;
}
socketfree (struct dns_transmit *d)
{
    if (!d->s1)
      return;
    close (d->s1 - 1);
    d->s1 = 0;
}