Hi all :
Currently I am working on a kernel mode driver which listen/send UDP
datagrams by TDI interfaces. And now I meet two problems which can not
find any clues.
1.My program can not receive anything untill I send an UDP to any
hosts. Which maybe because I initial the IP address with 0. Should I get
the local IP address before I start to listen a specific port ?
2.When I send data to IP 192.168.0.255 (which is supposed to
“broadcast” the data to all computers in my subnet), the data is sent
properly, and other computers can receive too. Problem is, the listening
loop after the broadcast can only receive 3 or 4 times, then it dies
quietly. Anyone can give me some hints about this ?
Best Regards,