Re: Cloning the Windows CE Web Server ASP sample
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 4 Jun 2007 10:09:38 -0700
Yes - this is possible but on older sets of the tools there is some trick to
allowing incoming server connections. I have the newer tools installed so I
don't know the exact options, so buyer beware on this one. But I seem to
recall when you dug into the config settings for your emulator & on
networking, there were 3 options -- something like disabled, NAT(??), and
something else I can't remember for the life of me (I want to say it was
virtual switch or virtual something like that). It's that 3rd option that
you want that will have the CE act like a real device.
I'm not sure how ping is working for you, unless ICMP somehow sneaks under
the covers.
You may also want to make sure you have not inadvertantly brought in the CE
device side firewall (I think it's fw6.dll & fwapi.dll), as this would cause
incoming packets to get tossed once they got to the emulaed CE device
regardless of underlying emulator connection. I'm surprised if the default
firewall would allow ICMP but it's been forever since I looked into this.
--
John Spaith
Senior Software Design Engineer
Windows CE Networking
Microsoft Corporation
http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2007 Microsoft Corporation. All rights
reserved.
"Alan Green" <AlanGreen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:841F945B-51D8-4853-90A2-929349367BD7@xxxxxxxxxxxxxxxx
Hi John
Thanks for the explaination. By the way, do you know whether I should be
able to get the web server to work under the device emulator? It doesn't
work
for me although I am able to ping in both directions (between WinCE under
emulator and the host PC). I have asked the question in the emulator
forum,
but I thought maybe you might know.
Alan
"John Spaith [MS]" wrote:
The .reg and the DllRegsiterServer are redundant. You can tell I wrote
this
not long out of college not only by redundancy but also in that I didn't
know how to use built-in ATL stuff very well in my manually implementing
the
fcn :).
I don't think it's a huge deal no matter which way you go, I'd personally
go
for the .reg file though so I wouldn't have to worry about manually
registering COM object.
--
John Spaith
Senior Software Design Engineer
Windows CE Networking
Microsoft Corporation
http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2007 Microsoft Corporation. All
rights
reserved.
"Alan Green" <AlanGreen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B758FC86-2776-4268-A10C-CDB00DF9CAB3@xxxxxxxxxxxxxxxx
Valter, thank you very much.
I've not been able to test the solution out yet as my hardware isn't
working
and I can't get a connection to the web server when running under the
device
emulator.
Alan
.
- References:
- Re: Cloning the Windows CE Web Server ASP sample
- From: John Spaith [MS]
- Re: Cloning the Windows CE Web Server ASP sample
- Prev by Date: Re: UDP Send issue
- Next by Date: Re: Write file from http-webserver
- Previous by thread: Re: Cloning the Windows CE Web Server ASP sample
- Next by thread: project.reg not replacing platform.reg entries
- Index(es):
Relevant Pages
|