使用TCP连接模拟器 [英] emulators connection using TCP
问题描述
再HY!
我试图连接两个模拟器运行的服务器和客户端在同一PC.The的是,其中一个是我应该以它们之间的连接使用每个模拟器的虚拟machine.What地址里面呢?
我使用的是TCP基于连接!
第一个模拟器上运行的Windows 7
在VMware里面第二个是在XP中
我的电脑网络内的IP是192.168.71.1
真的gratefull如果u answer.Thx!
hy again! I'm trying to connect two emulators running as server and client on the same PC.The thing is that one of them is inside a virtual machine.What addresses should I use for each of the emulators in order to connect between them? I'm using a TCP based connection! The first emulator is running on Windows 7 The second one inside the Vmware is on Xp The IP of my PC inside the network is 192.168.71.1 Really gratefull if u answer.Thx!!
推荐答案
我想你想使用本地主机地址(127.0.0.1)。设置服务器以侦听,一旦它运行起来有客户端连接,你应该是好去。 (请确保您的端口使用火柴,很明显。)
I imagine you'd want to use the localhost address (127.0.0.1). Set the server up to listen and once it is up and running have the client connect and you should be good to go. (Make sure the port you use matches, obviously.)
http://en.wikipedia.org/wiki/Localhost
这篇关于使用TCP连接模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!