Re: broadcast with unbound adapter



In addition : I mean to check that in WSPSetSockOpt() and use in your code
Arkady

"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
news:ejjcastUHHA.4632@xxxxxxxxxxxxxxxxxxxxxxx
If you'll not find the documented way how to do it, you can try to use LSP
to check parameters
used in winsock
Arkady

matthieu.locquet@xxxxxxxxx> wrote in message
news:1171644039.255216.191350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 16 fév, 17:15, "Skywing [MVP]"
<skywing_NO_SP...@xxxxxxxxxxxxxxxxxxx> wrote:
The DHCP client uses an undocumented setsockopt option to enable binding
to
0.0.0.0 as a literal address and not a wildcard address.

--
Ken Johnson (Skywing)
Windows SDK MVPhttp://www.nynaeve.net<matthieu.locq...@xxxxxxxxx> wrote
in message

news:1171638975.014744.183680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 16 fév, 10:33, "Arkady Frenkel" <arka...@xxxxxxxxxxxxxxxx> wrote:

Seems , like winsock check app send raw socket , in the case it's DHCP
agent, it do allow to send packet for unbound miniport. You can try to
use
TDIMon from sysinternals to check both
cases (http://www.sysinternals.com/Utilities/TdiMon.html)
Arkady

Thanks a lot for your help Arkady.

This tool TdiMon is great.
I can see that the "DHCP Client" Service (process svchost.exe)
successfully sends a TDI_SEND_DATAGRAM from 0.0.0.0:68 to
255.255.255.255:67 using UDP. But my process trying to do the same
gets a result HOST_UNREACHABLE.

I get this using a classical UDP socket, not a RAW socket. I do not
think I need to use RAW socket in fact. Do you think that the control
you mentioned about the application not only applies to RAW Sockets,
but also to UDP sockets? Have you found this information from
Microsoft, or is it a guess?

best regards

Do you have the value of this option?
Does that mean that if I can not set this option, I won't be able to
broadcast from 0.0.0.0, and there is no solution to my problem?

Thank you very much for your help




.



Relevant Pages

  • Re: broadcast with unbound adapter
    ... used in winsock ... This tool TdiMon is great. ... I get this using a classical UDP socket, not a RAW socket. ...
    (microsoft.public.win32.programmer.networks)
  • Re: broadcast with unbound adapter
    ... The DHCP client uses an undocumented setsockopt option to enable binding to 0.0.0.0 as a literal address and not a wildcard address. ... This tool TdiMon is great. ... I get this using a classical UDP socket, not a RAW socket. ...
    (microsoft.public.win32.programmer.networks)
  • Re: broadcast with unbound adapter
    ... agent, it do allow to send packet for unbound miniport. ... This tool TdiMon is great. ... I get this using a classical UDP socket, not a RAW socket. ...
    (microsoft.public.win32.programmer.networks)
  • Re: broadcast with unbound adapter
    ... This tool TdiMon is great. ... I get this using a classical UDP socket, not a RAW socket. ...
    (microsoft.public.win32.programmer.networks)
  • Re: broadcast with unbound adapter
    ... Arkady ... This tool TdiMon is great. ... I get this using a classical UDP socket, ... you mentioned about the application not only applies to RAW Sockets, ...
    (microsoft.public.win32.programmer.networks)