Hello,
I have to implement dns name resolution in kernel mode. My only problem
is to receive an udp datagram. I can see that the datagram is send by
the name server (with tcpdump) but I'am unable get it.
I implemented in a similar way as James Antognini did in his tdi sample
code <http://home.mindspring.com/~antognini/drivers/> except my isn't
working. ;)
At TdiBuildReceiveDatagram() I have the tdi ip address of the name
server as ReceiveDatagramInfo and an empty tdi ip address as ReturnInfo.
The ReceiveDatagramInfo is a pointer to the same ip address that I used
to send the datagram and this works.
I have double checked my code but I'am unable see the problem. So I have
some questions:
What does the transport with an udp datagram that is not taken by a tdi
client? Will the transport delete such an datagram? Or is there a
timeout before the transport will delete such a datagram? Is it a
problem to have a slow machine? That the ReceiveDatagram() call might be
to late and the datagram is already received by the transport and no
client took it.
I'am sorry if I ask stupid questions!
--
h.wulff
[dont send me an email]