![]() |
|
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| SimConnect Use this forum for all your SimConnect related discussions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Simconnect, no connection
If this is in the wrong place my apologies.
I cannot get Simconnect to connect. When using the AI test the command window opens for a second or so then closes. I have 2 PCs on my LAN connected via a Belkin router, one PC has Windows firewall and the other has PCtools firewall. AFAIK I have installed and set up Simconnect correctly, in fact I have the Simconnect tools showing in FSX menu bar. I think the problem may be that ports are not open so initially would like advice on how to test if ports are open. The port in question would be 6811 for Squwakbox. I have tried netstat -a and neither PC lists port 6811. Any help would be greatly appreciated and if you need any more information just ask. I have spent quite a while searching the Net for help and have posted in the SB forum but help from there yet. TIA Dave EDIT: I have just checked the SDK installation (FSX) Wiki and note that the version numbers are not the same as on my PC running FSX Acceleration. In c:\windows\WinSxS I have the following SimConnect.dll versions, can someone confirm, or otherwise, these version numbers please? 10.0.60905.0 10.0.61242.0 10.0.61259.0 Last edited by vulcan; 25 Jul 2010 at 12:27. |
|
#2
|
|||
|
|||
|
AFAIK, local SimConnect clients under SP1 onwards aren't using TCP/IP, so ports aren't likely to be the issue.
Have you stepped through it with a debugger to see where it's failing? If it makes it past the SimConnect_Open() and into the {} block then there's nothing wrong with it loading the simconnect.dll and connecting to the sim's server, so it's likely a coding problem within the example. FWIW, some of those examples barely work, notably those which test for the Sim Start event before initialising themselves. Si Edit: Just re-read your post and noticed the bit about two PCs and a router. I'd suggest compiling in release mode and trying it on the local (to FSX) PC as a first step. |
|
#3
|
|||
|
|||
|
Thanks for the reply Si but talk of using a debugger is beyond me, just an 'end user' trying to get Simconnect working with a 2nd computer.
I am trying to get Squwakbox on the client PC to connect to FSX on the server PC. Looking at their install instructions the first thing to do is make sure Simconnect is working correctly by running the AITraffic.exe in the SDK on the client PC. What should happen is that a command window opens and shows a connection to FSX, that is not happening. Also the install instructions set out the entries for the simconnect.xml, & cfg files which do show specific port entries. Since posting I have discovered that the simconnect.dll versions are correct, the versions I quoted were the folder versions in Winsxs. I have generated a simconnect.log file on the server PC but have no idea how much is relevant or how to read it! |
|
#4
|
|||
|
|||
|
SB4 now working, no idea why it suddenly started to work as I had changed nothing
![]()
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Simconnect with Multiplayer - Collection RADIUS & Gamespy Name | Geoff_D | SimConnect | 21 | 24 Mar 2011 05:19 |
| New to Simconnect | homer09001 | SimConnect | 2 | 17 Nov 2008 08:31 |
| VB.NET examples on connection | teofilo | SimConnect | 4 | 29 Oct 2008 13:32 |
| FSUIPC & Simmconnect version pb | Yamasuki | SimConnect | 0 | 09 May 2008 08:28 |
| SimConnect Simulator Variables | FlapsOut | SimConnect | 3 | 12 Jun 2007 19:24 |