Mail Archives: djgpp/1997/01/23/02:19:24
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
** ** ***** *** ** <markiv AT rangenet DOT com>
** ** ** ** **** ** http://www.rangenet.com/markiv
** ** ** ** ** ** **
** ** ******* ** ****
** ** ** ** ** ***
** ** ** ** ** **
***** ** ** ** **
- Raw text -