Message-ID: <32E70FFE.1EB0@rangenet.com> Date: Thu, 23 Jan 1997 01:15:10 -0600 From: Dan Hedlund Reply-To: markiv AT rangenet DOT com Organization: Range Net MIME-Version: 1.0 To: Alfons Hoogervorst , djgpp AT delorie DOT com Subject: Re: WinSock in Dos with WIn95 References: <199701102157 DOT VAA13896 AT mx2 DOT rmplc DOT co DOT uk> <32d94f0f DOT 1882488 AT news DOT worldaccess DOT nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alfons Hoogervorst wrote: > Just a few more notes about the WSOCK.VXD interface: > > - it does not "export" socket database functions. I.e. no > gethostbyname(), gethostbyaddr(). So you either need to know the > numeric IP address or write the resolver functions yourself. > > - before you write a resolver, there's also the problem of getting the > domain name server (and other relevant data) for the current RAS > connection. That can be rather tricky. There are several options for > doing this, one of them is hoping that the ISP server has a BOOTP or > DHCP server running. > I've written a BOOTP client. It gets the DNS server's IP. I've also writen a DNS client. It currently only supports resolving host names to IP address, but it will support more functions later. The updated version, 0.92a, will be at http://www.rangenet.com/markiv/wsock.html in a day or so. -- ***** *** ** ** Dan M. Hedlund ** ** ***** *** ** ** ** ** ** **** ** http://www.rangenet.com/markiv ** ** ** ** ** ** ** ** ** ******* ** **** ** ** ** ** ** *** ** ** ** ** ** ** ***** ** ** ** **