Re: socket error when calling WSAIoctl

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




in fact, my smartphone belongs to a small group, i want just receive
multicast packets send by others devices to me. (not ALL the packets on
network)
maybe it is more simple than i've expected.


"Paul G. Tobey [eMVP]" wrote:

The call is supported, but that doesn't mean that you can pass any
particular values for the settings to it and expect it to work. As I said,
as far as I can tell, there's no support for that particular code in WinSock
on Windows CE 5.0.

The only way I can think of that would allow you to see all of the multicast
packets would be to build an NDIS intermediate driver, which would see *all*
of the packets, including the multicast ones. That driver would then have
to decide if a given packet was a multicast packet and do the right thing
with it, whatever that is.

Why do you want this capability?

Paul T.

"Ralph" <Ralph@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E4832AEA-B939-485B-8B54-8BBA246A66B6@xxxxxxxxxxxxxxxx
I am sorry if this topic is not at right place.

According to msdn on winsock, the method WSAIO is well supported by
Windows
CE 5. Otherwise, i would get build error with compiler ARMW4 (in visual
studio 2005)
at the following msdn page,
http://msdn2.microsoft.com/en-us/library/aa916335.aspx
SIO_RCVALL_MCAST is not mentioned as a dwIoControlCode

in fact i don't undestand how the parameter dwIoControlCode is build (I,
O,
V, T in the form of the dwIoControlCode),
and why a lot of parameters like SIO_RCVALL_MCAST, SIO_FIND_ROUTE
supported
by windows Sockets Version 2 are here missing.


the network adapter that i have used to test, is WIFI, ad hoc

How enable a socket to receive all multicast IP traffic on the network, if
winsock does not support this feature.

thanks for spending time to answer me

"Paul G. Tobey [eMVP]" wrote:

I see no sign that Windows CE 5 supports it at all. It's unreferenced in
the WinSock stuff. I'm none too sure about SOCK_RAW, either. What sort
of
network adapter is this used with?

Paul T.





.



Relevant Pages

  • Re: socket error when calling WSAIoctl
    ... multicast packets send by others devices to me. ... According to msdn on winsock, the method WSAIO is well supported by ... winsock does not support this feature. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: [SLE] Multicast Problem with Suse 9.2
    ... I've conducted tests as such that you told, but the is that the packets ... Multicast Problem with Suse 9.2 ... > say the kind of network I have. ...
    (SuSE)
  • Re: SYSMAN problem
    ... nodes discover each other and services are advertised by periodic transmission of multicast packets. ... So proponents of routing expressed fear that as a network grew larger, it could grow to the point where all bandwidth is being consumed by broadcast and multicast packets, leaving no room for actual data traffic. ...
    (comp.os.vms)
  • Re: [fw-wiz] Multicast Firewall
    ... To get some understanding of issues related to Firewalls and Multicast, ... type of integrity checks that are done for unicast packets. ... In firewall world, the networks are divided into Corporate network, DMZ network ...
    (Firewall-Wizards)
  • Re: SRVLOC multicast packets
    ... > packets that I am seeing on our network for SVRLOC.MCAST.NET ... > If you can find a multicast group to which users are being ... > inadvertently connected with a significant ttl, ...
    (comp.security.misc)