RE: wifi broadcast ICMP messages
From: Vu (Vu_at_discussions.microsoft.com)
Date: 10/26/04
- Previous message: John Spaith [MS]: "Re: Microsoft Mobile HTTP Server / Pocket IE question"
- In reply to: Peter K?hn: "wifi broadcast ICMP messages"
- Next in thread: Peter K?hn: "Re: wifi broadcast ICMP messages"
- Reply: Peter K?hn: "Re: wifi broadcast ICMP messages"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 26 Oct 2004 12:19:11 -0700
"Peter K?hn" wrote:
> Hi,
>
> If I have two Pocket PC's that do not know each other (IP addresses),
> but only their SSID and subnet masks. There is also no AP available.
> So the PPC's have to communicate in ad-hoc mode.
> How is it possible to find each other? In the first moment I would
> think,
> sending a broadcast message will solve the problem.
> But as far as I know it's not possible to send ICMP messages because
> raw sockets are not implemented in Microsoft Windows CE .NET 4.2
> and I've heared also that IcmpSendEcho, IcmpSendEcho2 can't be used
> for broadcast addresses (cannot test it because I have no PPC :-(
>
> So my questions are is it true that PPC's can NOT send any broadcast
> messages and if not how can one solve the "Rendevous-problem" ??
> Is there a Wifi specific mechanism available?
>
> Any practical experiences? Please help.
>
Yes, it does send a broadcast. For example, I use 192.168.253.255 and I
receive the replies from two different hosts on my LAN. But the problem is ,
on the PocketPC, the returning icmp reply has the address of the one that I
sent you. IOW, it shows me the reply is from 192.168.253.255.
The reason I can be sure that my two other hosts receives the icmp broadcast
is I use tcpdump on these hosts to capture the packets.
I am not sure if this is a bug. If I find out more, I will post here.
HTH,
Vu
- Previous message: John Spaith [MS]: "Re: Microsoft Mobile HTTP Server / Pocket IE question"
- In reply to: Peter K?hn: "wifi broadcast ICMP messages"
- Next in thread: Peter K?hn: "Re: wifi broadcast ICMP messages"
- Reply: Peter K?hn: "Re: wifi broadcast ICMP messages"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|