- Messages
- 65
- Country

Hi, I have a simconnect DLL and I'm trying to use simconnect_transmitClientEvent to send a client event to the same DLL loaded on another user's sim in FSX LAN multiplayer. I am using the code below, which does work locally. I can send and receive events between two DLLs, and between EXE and DLL on my machine - both the local clients receive the event. But I'd like to send an event to the other players' machines as well. Everything else in the multiplayer session seems to work fine, aircraft A:var animations, etc... Does anyone have any ideas as to where I'm going wrong? Am I just barking up the wrong tree - are client events not supported in multiplayer? that would be a drag... But client data areas definitely are, right?
#define TEST_ID 1600
void Init(){
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, TEST_ID, name);
hr = SimConnect_AddClientEventToNotificationGroup(hSimConnect, TEST_ID, TEST_ID, mask);
hr = SimConnect_SetNotificationGroupPriority(hSimConnect, TEST_ID, SIMCONNECT_GROUP_PRIORITY_HIGHEST);
}
void Transmit(){
SimConnect_TransmitClientEvent(hSimConnect, 0, TEST_ID, 1, SIMCONNECT_GROUP_PRIORITY_HIGHEST, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY);
}
Thanks so much as ever,
Farley
#define TEST_ID 1600
void Init(){
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, TEST_ID, name);
hr = SimConnect_AddClientEventToNotificationGroup(hSimConnect, TEST_ID, TEST_ID, mask);
hr = SimConnect_SetNotificationGroupPriority(hSimConnect, TEST_ID, SIMCONNECT_GROUP_PRIORITY_HIGHEST);
}
void Transmit(){
SimConnect_TransmitClientEvent(hSimConnect, 0, TEST_ID, 1, SIMCONNECT_GROUP_PRIORITY_HIGHEST, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY);
}
Thanks so much as ever,
Farley
