Re: hostname in windows version

Bill Woodland (wcw@bga.com)
Sat, 12 Apr 1997 09:43:51 -0500


At 03:39 PM 4/12/97 +0930, Anthony Beresford wrote:
>As is usual for dialup, my ISP
>assigns IP addresses from a pool,
>so I dont have a fixed address, and
>I think my winsock ( Trumptet Winsock)
>only reads hosts file at startup.
>I certainly dont make any connections
>even though I edit hosts file to give
>a host name to my current IP.
>Tony Beresford
>

Check the "GetHostName() Error help" section on my web page...use
makehost.com or wsmakehost.exe to make the hosts file.

If I'm not mistaken, your ISP has names setup for their IPs, so you
shouldn't need a hosts file. This was from the header of your message:

Received: from dialup1-10.camtech.net.au (dialup1-10.camtech.net.au
[203.28.0.42]) by goliath.camtech.com.au (8.8.5/8.8.2) with SMTP id PAA12351
for <CU-SEEME-L@cornell.edu>; Sat, 12 Apr 1997 15:39:24 +0930 (CST)

Your IP at the time you sent this message was 203.28.0.42 and your host name
was dialup1-10.camtech.net.au which should have been picked up by CU when
you started the program. I used wshost to do a lookup on that IP, and it
returned the dialup1-10 name. I also did a lookup on that host name, and
got the same IP, so your ISP is setup properly.

Bill Woodland (Squeek =A9)
PC questions only, please.
URL:http://cu-seeme.cornell.edu/~WCW
CU-seeME Unsubscribe? Go to http://cu-seeme.cornell.edu/listinfo.html for
instructions.