Mail Archives: djgpp-workers/1999/05/16/06:39:25
On Thu, 13 May 1999, Richard Dawe wrote:
> The name returned is a LAN Manager name, which doesn't necessarily bear
> any relation to the DNS name.
No, the name returned is from whatever network redirector has hooked
the function 5Eh of Int 21h. It is IMHO the responsibility of the
redirector to return valid names.
> I suppose if one was really concerned with this, one would just use
> libsocket or equivalent.
I think if libsocket is used it should override gethostname by a
DNS-aware version. I understand that there's no way to get this
information without talking to Winsock.
> [ BTW Eli, I'm on the workers list, so don't worry about cc'ing me. ]
I don't worry at all: my mailer is set up by default to reply to both
the list and the individual addresses listed in the headers. If it
bothers you, I could try to remove you from the default addressees.
- Raw text -