Re: socket error when calling WSAIoctl
- From: Ralph <Ralph@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 01:11:00 -0700
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.
- Follow-Ups:
- Re: socket error when calling WSAIoctl
- From: Paul G. Tobey [eMVP]
- Re: socket error when calling WSAIoctl
- References:
- socket error when calling WSAIoctl
- From: Ralph
- Re: socket error when calling WSAIoctl
- From: Paul G. Tobey [eMVP]
- Re: socket error when calling WSAIoctl
- From: Ralph
- Re: socket error when calling WSAIoctl
- From: Paul G. Tobey [eMVP]
- socket error when calling WSAIoctl
- Prev by Date: Re: OpenNETCF 2.2 WirelessZeroConfig problem
- Next by Date: Re: Listing tables, then loop through data
- Previous by thread: Re: socket error when calling WSAIoctl
- Next by thread: Re: socket error when calling WSAIoctl
- Index(es):
Relevant Pages
|