Re: resolv.conf equivalent on Cygwin

2006-02-20 Thread Corinna Vinschen
On Feb 19 13:23, Hiroki Sakagami wrote: > Hi, > > I am trying to port a program with an asynchronous DNS resolver to > Cygwin. Because it can't use gethostbyname() family functions, it Why? Lynx, for instance, uses gethostbyname and kin for asynchronous operation, too. It just starts an extra

resolv.conf equivalent on Cygwin

2006-02-18 Thread Hiroki Sakagami
Hi, I am trying to port a program with an asynchronous DNS resolver to Cygwin. Because it can't use gethostbyname() family functions, it needs to read /etc/resolv.conf file. However, Windows seems to have the names of DNS servers in the registry key "SYSTEM\CurrentControlSet\Services\Tcpip\Param