[futurebasic] Re: [FB] Re: [X-FB] Sending and receiving data over TCP/IP

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2002 : Group Archive : Group : All Groups

From: tedd <tedd@...>
Date: Fri, 21 Jun 2002 18:02:54 -0400
>  there are probably unix commands
>to do such, and you'd need to send the requests [and then grab the
>info back] to those unix commands. i suspect that much of the
>apple network utility is just a wrapper to helpful commands
>like 'ping' and 'whois'.

In Unix, as I've been told -- one must create a file called /etc/resolv.conf.

The file contains the name of the local domain and the IP address of 
any available DNS servers. The domain name is prefaced with the word 
domain and the IP address of a name server is prefaced with the word 
nameserver. Such as:

domain  whitehouse
nameserver: 114.12.120.6

When a client application needs an IP address, it consults the 
resolv.conf file to get the address of a name server that will supply 
the necessary information.

Using ping is a good way to test your DNS configuration. I would like 
to be able to do that [and other TCP/IP stuff such as the resolver] 
with FB -- I just don't know how, yet.

tedd
-- 
http://sperling.com