用VS2008+模拟器开发时,如何设置网络

一、在WindowsXP或Windows2000上安装一个回环适配器(不需要象有些人说的那样安装一个VirtualPC的虚拟见网卡,那个虚拟网卡安装程序现在不好找咯):

在WinXP上:

   1. Open Control Panel, choose Add Hardware, and then choose Next.
   2. Choose Yes, I have already connected the hardware, and then choose Next.
   3. From the Installed hardware list, select Add a new hardware device, and then choose Next.
   4. Choose Install the hardware that I manually select from a list (Advanced), and then choose Next.
   5. From the Common hardware types list, select Network adapters, and then choose Next.
   6. From the Manufacturer list, select Microsoft.
   7. From the Network Adapter list, select Microsoft Loopback Adapter, and then choose Next.
   8. Choose Next, and then choose Finish.

 

在Win2000上:

   1. Open Control Panel, choose Add/Remove Hardware, and then choose Next.
   2. Choose Add/Troubleshoot a device, and then choose Next.
   3. From the Devices list, select Add a new device, and then choose Next.
   4. Choose No, I want to select the hardware from a list, and then choose Next.
   5. From the Hardware types list, select Network adapters, and then choose Next.
   6. From the Manufacturers list, select Microsoft.
   7. From the Network Adapter list, select Microsoft Loopback Adapter, and then choose Next.
   8. Choose Next, and then choose Finish.

 

二、在模拟器中配置网络适配器

从模拟器的菜单“文件--》配置--》网络”进入,把“启用NE2000 PCMCIA网络适配器并绑定到”选上,然后从下拉列表中选择“Microsoft Loopback Adapter - Virtual Machine Network Services Driver”

 

三、在模拟器的操作系统中设置网卡

从模拟器操作系统的“开始--》设置--》网卡”进入,从网络适配嚣列表选择“NE2000 兼容 Ethernet 驱动程序”(双击),然后选择“使用特定的IP地址”并输入想要的地址就可以(WInXP或WIn2000中的Loopback Adapter也要设置同网段的IP)。

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值