Page 1 of 1

SimConnect used by another app

Posted: Wed Dec 12, 2007 5:21 am
by me2d
Hi

I have 3rd party application that uses SimConnect to "talk" to FSX. It configures simconnect to use specific port - this is configuration file SimConnect.xml:

Code: Select all

<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>127.0.0.1</Address>
    <Port>17200</Port>
  </SimConnect.Comm>
</SimBase.Document>
Now when I use this xml file with FSX, my TrackIR 4 stops working. When I remove this SimConnect.xml, TrackIR works again. I watched monitoring part of my firewall and it seems that TrackIR needs different port for SimConnect.
So is there any way how I can use both? I know author of that application so if there's any way how this application and TrackIR software can share SimConnect, he can probably implement some changes.

Regards
Petr

Re: SimConnect used by another app

Posted: Wed Dec 12, 2007 3:16 pm
by VincentG

Code: Select all

 
<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>Auto</Protocol>
<Scope>local</Scope>
<Address></Address>
<MaxClients>64</MaxClients>
<Port></Port>
<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>
</SimConnect.Comm>


You will need to make sure that you have this also in the xml file that you have installed. Otherwise, simconnect will only use the codes, protocols, and ip addresses that you specify.

example - the entire xml file may look something like this........

Code: Select all

  
<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>127.0.0.1</Address>
    <Port>17200</Port>
  </SimConnect.Comm>
<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>Auto</Protocol>
<Scope>local</Scope>
<Address></Address>
<MaxClients>64</MaxClients>
<Port></Port>
<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>
</SimConnect.Comm>
</SimBase.Document>

  
[/b]

Re: SimConnect used by another app

Posted: Thu Dec 13, 2007 11:21 am
by me2d
Works fine, thank you.

Re: SimConnect used by another app

Posted: Thu Dec 13, 2007 12:31 pm
by VincentG
No issues, glad to help.