Remote connection: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 12: Line 12:


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


<SimBase.Document Type="SimConnect" version="1,0">
<SimBase.Document Type="SimConnect" version="1,0">
Line 28: Line 28:
     <DisableNagle>False</DisableNagle>
     <DisableNagle>False</DisableNagle>
   </SimConnect.Comm>
   </SimConnect.Comm>
</SimBase.Document>addr1 is your machine IP. You can open a command prompt and run the command ipconfig. Look for the line IPV4 address the addr is there.
</SimBase.Document></pre>
addr1 is your machine IP. You can open a command prompt and run the command ipconfig. Look for the line IPV4 address the addr is there.


Port1: Choose any port above 1024, do not use 8080
Port1: Choose any port above 1024, do not use 8080
Line 40: Line 41:
The content of the cfg file is:
The content of the cfg file is:


[SimConnect]
<pre>[SimConnect]
Protocol=IPv4
Protocol=IPv4
Address=addr1
Address=addr1
Port=Port
Port=Port
MaxReceiveSize=4096
MaxReceiveSize=4096
DisableNagle=0  
DisableNagle=0 </pre>





Revision as of 00:53, 6 June 2007

In vista

In your server machine (the one with FSX)

1 - Unhide folders and files in control panel; Uncheck: Hide known extensions

2 - locate the C:\Users\Username\AppData\Roaming\Microsoft\FSX username is your login name

3 - Create a SimConnect.xml file with this content


Code:

<?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>IPv4</Protocol>
    <Scope>global</Scope>
    <Address>addr1</Address>
    <MaxClients>64</MaxClients>
    <Port>Port1</Port>
    <MaxRecvSize>4096</MaxRecvSize>
    <DisableNagle>False</DisableNagle>
  </SimConnect.Comm>
</SimBase.Document>

addr1 is your machine IP. You can open a command prompt and run the command ipconfig. Look for the line IPV4 address the addr is there.

Port1: Choose any port above 1024, do not use 8080

In your client machine

1 - Install simconnect (Default location for setup is: C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimConnect SDK\lib) copy setup for client machine

2 - create a C:\Users\Username\Documents\SimConnect.cfg username is your login name The content of the cfg file is:

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


addr1 - See above it should match Port - See above it should match __________________