New to compact framework tutorials? Learn to write your first compact framework application here.
Zac Efron - Hairspray star and Mythbusters' Kari Byron at Celebrity Treat. Check out income and career information in Singapore.

Sunday, November 27, 2005

- Networking_: ping the emulator

This is more of an intermediate topic, which is especially useful if you're writing applications that requires networking. If you're just getting started on the .NET Compact Framework 2.0, you can read this to install the tools and this to write your first app.

Here's how you can ping your Windows Mobile 5.0 Pocket PC emulator:
  1. First, ensure that you do not "cradle" your emulator, which is already the case by default (so you don't have to do anything). If you want to know more on cradling emulators, see this.
  2. Next, in the window that contains the emulated Pocket PC, click File-> Configure. You should see the "Emulator Properties" dialog box. Under the Network tab, check the checkbox "Enable NE2000...". This will bind the emulator's network adapter to your host PC's network. (If you're familiar with using Virtual PC, this is exactly the same as binding the network adapter in a Virtual Machine to the host PC's network).
  3. Within the emulator, click Start-> Settings-> Connections (tab)-> Network Cards. Check that the card connects to "Work".
  4. Then click on the NE2000 driver and ensure that "Use server-assigned IP address" is selected (this is assuming that you have a DHCP server in your network; if not, you need to specify a valid IP address within the same subnet as your host PC, and also configure the Name Servers). Click OK a few times to close the dialog boxes.
  5. Still within the emulator, click Start-> Settings-> Connections (tab)-> Connections-> Advanced (tab), click "Select Networks" button, and change the first dropdown to "My Work Network". Click OK.
  6. Soft reset the emulator (in the window containing the emulator, click File-> Reset-> Soft).
  7. To find out the IP address assigned to the emulator, click Start-> Settings-> Connections (tab)-> Network Cards, and click on the NE2000 driver.
  8. You can now ping the emulator from your host PC.
We will explore writing networking applications some time soon. (In fact, you have already written a browser app, which actually depends on ActiveSync as a virtual router to connect to the Internet, but the problem is that by doing so, connection initiation can only be from emulator to the network, which means you can neither ping nor connect to the emulator from outside.)

Categories: [Networking_] Tags: [] [] []

2 Comments:

Blogger danchong said...

That's strange. Are you able to capture a screenshot? You can upload it to one of those file/image sharing sites and post the URL here, and I'll take a look. Thanks.

9/14/2006  
Anonymous Anonymous said...

(法新社a倫敦二B十WE四日電) 「情色二零零七」情趣產品大產自二十三日起在成人網站情色A片下載的肯辛頓奧林匹亞展覽館舉行,倫色情敦人擺脫對性的保守態度踴躍參觀,許多穿皮衣與塑膠緊身衣色情影片的好色之成人電影徒擠進這項世界規模最大的成人生活展,估計三天情色電影展期可吸引八萬多好奇民眾參觀。
情色電影
活動計畫負責人米里根承諾成人影片:「要搞浪漫、誘惑人、玩虐成人電影待,你渴望的a片我們都有。」

他說:情色「時髦的設計與華麗女裝,從吊飾到束腹到真人大小的雕塑,是我們由今年展出的數千件產品精選出的一AV女優部分,參展產品還包括時尚服飾、貼av女優身女用內在美、鞋子、珠寶、玩具、影片、藝術、圖書及遊戲,更不要說性愛輔具及馬術a片下載裝備A片。」

色情觀民眾遊覽兩百五十多個攤位,有性感服裝、玩具及情色食品,迎合av各種a片品味。

大舞台上表演的是美國野蠻搖滾歌手瑪莉蓮曼森的前妻─全世界頭牌脫衣舞孃黛塔范提思,這是她今年在英國唯一一場表演。

以一九四零年代風格演出的黛塔范提思表演性感成人網站的天堂鳥、旋轉木馬及羽扇成人影片等舞蹈。

參展攤位有AV的推廣情趣用品,有的公開展示人體藝術和人體雕塑,也有情色藝術家工會成員提供建議。

3/02/2009  

Post a Comment

<< Home