Re: Help on socket (AF_INET,SOCK_RAW

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi!
"jarmilitao" <jarmilitao@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3D183F0D-3FBF-4678-9AE9-1547801ECFF2@xxxxxxxxxxxxxxxx
Thanks for the help.

But, this topic is related with WinCE 5.0 isn't it?

Yes, that from CE 5 AFAIK
Arkady

Is it also applicabe to WinCE 4.2? If so, do you know where I can find an
example of it's use?


Thanks in advance.

J.A.R.Milit?o

"Arkady Frenkel" wrote:

The answer is yes but for privileges apps
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51conTCPIPRawSockets.asp
Arkady

"jarmilitao" <jarmilitao@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AF4251F1-7EA6-4154-A2CF-2975C24A3E65@xxxxxxxxxxxxxxxx
Hi,

I am trying to port a piece of SW from WinXP to WinCE 4.2

on XP I make a call like this
s = socket (AF_INET, SOCK_RAW, IPPROTO_OSPFIGP);

on CE with the same code I get the "WSAESOCKTNOSUPPORT" error.

It seems that CE does not support RAW sockets.
In fact what I need is to call the "sendto" function with all the IP
data
(including the IP header).

Is there any turnaround for this problem? Does WinCE 5.0 already
support
it?

Thanks.

J.A.R.Milit?o







.



Relevant Pages

  • Re: P2P in WinCE?
    ... But AFAIK up to now - no such:( ... Arkady ... > Is P2P SDK supported in WinCE or .NET Compact Framework. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Help on socket (AF_INET,SOCK_RAW
    ... I am trying to port a piece of SW from WinXP to WinCE 4.2 ... It seems that CE does not support RAW sockets. ...
    (microsoft.public.windowsce.app.development)
  • Insert picture in CEdit
    ... AFAIK there's no CRichEditCtrl in WinCe ... but i saw an application that can do that, for example to BOLD, UNDERLINE, ...
    (microsoft.public.pocketpc.developer)