SimConnect used by another app

Post Reply
me2d
Posts: 2
Joined: Wed Dec 12, 2007 3:15 am

SimConnect used by another app

Post 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
VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: SimConnect used by another app

Post 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]
me2d
Posts: 2
Joined: Wed Dec 12, 2007 3:15 am

Re: SimConnect used by another app

Post by me2d »

Works fine, thank you.
VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: SimConnect used by another app

Post by VincentG »

No issues, glad to help.
Post Reply