Re: [tkined] Minor Tnm bugs

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Mon, 21 Jun 1999 16:34:40 +0200

>>>>> Stefan Finzel writes:

Stefan> While porting applications to Tcl8.x I found a few minor bugs.

Stefan> Tnm::netdb networks address loopback 0.0.0.127

Stefan> # EXPECTED 127.0.0.0

Your expectation is right. And this is what I get back on my Intel
Linux box. (Perhaps I fixed this problem after the last snapshot.)

Stefan> Tnm::netdb networks address fis.de 0.10.10.150

Stefan> # EXPECTED 150.10.10.0

See above.

Stefan> Tnm::netdb hosts {localhost 127.0.0.1} ...

Stefan> # works well using Unix/Linux.
Stefan> # It fails using Windows 95, returning an empty string.
Stefan> # The files hosts and hosts.sam are in the \windows
Stefan> # directory and in the directory \etc.
Stefan> # Resolving names and addresses works fine all the time:

This is a feature of Win32 systems. They usually have gethostbyname()
and friends but they do not have gethostent() and friends. We will
check whether we can ship our own implementation of these functions
for Win32 systems...
Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3289)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.