SOCK_RAW on PPC ?
From: Tom K (TomK_at_discussions.microsoft.com)
Date: 02/01/05
- Next message: Tom K: "RE: SOCK_RAW on PPC ?"
- Previous message: Bahamas: "RE: HttpWebRequest fails only over ActiveSync after 15 successes"
- Next in thread: Tom K: "RE: SOCK_RAW on PPC ?"
- Reply: Tom K: "RE: SOCK_RAW on PPC ?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Feb 2005 07:23:03 -0800
Hi,
When I try to open a raw socket on a pocket PC I get the following error
code from the failed call to socket():
WSAESOCKTNOSUPPORT (10044)
•Translation: Socket type not supported.
•Description: The support for the specified socket type does not exist in
this address family. For example, the SOCK_RAW optional type may be selected
in a socket (Wsapiref_2qr6.asp) call but the implementation does not support
SOCK_RAW sockets at all.
The code I use to open the socket is:
rawSocket = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
The error code suggests that raw sockets are not implemented on CE (Pocket
PC 4.20) ? Can someone confirm this? I have some code that performs an ICMP
ping and I would like to run it on CE, but it appears as if this will not be
possible.
Thanks,
Tom.
- Next message: Tom K: "RE: SOCK_RAW on PPC ?"
- Previous message: Bahamas: "RE: HttpWebRequest fails only over ActiveSync after 15 successes"
- Next in thread: Tom K: "RE: SOCK_RAW on PPC ?"
- Reply: Tom K: "RE: SOCK_RAW on PPC ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|