Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 02b8b3750930266d84f1eab5417097a1a3df9b6a
Ticket: 824251ffffffffffffffffffffffffffffffffff
async client sockets block for DNS
User & Date: dkf on 2005-04-27 04:44:48
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Joe English suggests using getaddrinfo() for name lookups
    instead of gethostbyname(). In terms of portability, it
    seems to be available identically on Linux, Solaris and IRIX
    for sure (no access to other Unix platforms!) and it is also
    the subject of standardization (see POSIX 1003.1g and RFC
    2553). IOW, perfect! And if there are platforms which don't
    support it, we could detect that in configure and fall back
    to the bad old gethostbyname() for [socket -async] processing.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"