> > Well, that is emphatically *NOT* what application developers 
> > do. They do not just observe that it does not work, they try
> > to work around, e.g. routing messages to a different address,
> > at a different time, through a third party, or through a
> > different protocol. 
> 
> Indeed, correctly coded applications will use a getaddrinfo()
> and then a connect() in a loop until succesful. 

it's perfectly reasonable to connect to an address without first
doing a DNS lookup.  even when you need to do a DNS lookup,
getaddrinfo() doesn't always do what you need.

Keith

Reply via email to