PDA

View Full Version : How to connect to the simulator from a remote computer.


guodah
25 Jan 2007, 16:34
Dear folks,

Could you anybody let me know how to connect to the simulator from a remote machine?

I created a file, named SimConnect.cfg as follows and saved in "My Documents:

Protocol=IPv6
Address=<my ip>
Port=1500
MaxReceiveSize=4096
DisableNagle=0

I did this according to the SimConnect documents. But the OpenAndClose example does not connect.

I really appreciate it if anybody could help.

Thanks,

badderjet
10 Feb 2007, 09:13
Hey folks,

I'd also greatly appreciate some reply here for I can't get it to work either. I also had a search on other forums, tried all the hints that worked for others but they do not work here so I am quite a bit frustrated at the moment.

Thanks in advance.

ziporama
11 Feb 2007, 09:39
Below are my working simconnect.cfg (client) and simconnect.xml (server).

Note the use of IPV4, not V6 as that seems to require a special IP stack (new network card driver). Also, replace the IP address with the IP of the server (DNS name didn't work for me). Also, I had to set my scope to global to avoid pesky security issues.

(simconnect.cfg in my documents on client PC)

[SimConnect]
Protocol=IPv4
Address= 1.2.3.4
Port=17200
MaxReceiveSize=4096
DisableNagle=0

(simconnect.xml file in Documents and Settings\<alias>\Application Data\Microsoft\FSX folde on the server)

<?xml version="1.0" encoding="Windows-1252"?>

<SimBase.Document Type="SimConnect" version="1,0">
<Descr>SimConnect</Descr>
<Filename>SimConnect.xml</Filename>
<Disabled>False</Disabled>
<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>Auto</Protocol>
<Scope>global</Scope>
<Address>1.2.3.4</Address>
<MaxClients>64</MaxClients>
<Port>17200</Port>
<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>
</SimConnect.Comm>
</SimBase.Document>

Hope this helps.

Etienne