Hi,
Is it possible to get information similar to that provided by following
SOCKET functions using TDI calls.
- Gethostname()
- Gethostbyname()
Basically, is there a way to do DNS resolution using TDI
Thanks,
-atul
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You will need to write the full DNS client (implementing all transactions over UDP) in kernel mode.
gethostbyname() is provided not by TCPIP.SYS, it is provided by user-mode WinSock - namely WSHTCPIP.DLL. It is not a part of IP
stack, and TDI allows you to work with the IP stack only.
Max
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Wednesday, October 17, 2001 5:58 PM
Subject: [ntdev] Getting some network information using TDI
> Hi,
>
> Is it possible to get information similar to that provided by following
> SOCKET functions using TDI calls.
> 1) Gethostname()
> 2) Gethostbyname()
>
> Basically, is there a way to do DNS resolution using TDI
>
>
> Thanks,
> -atul
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com