Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TimianHeber authored Oct 16, 2020
1 parent 45c8fce commit f743f93
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ namespace FsConnectTest
fsConnect.SimConnectFileLocation = SimConnectFileLocation.MyDocuments;

// Creates a SimConnect.cfg and connect to Flight Simulator using this configuration.
fsConnect.Connect("TestApp", "localhost", 500);
fsConnect.Connect("TestApp", "localhost", 500, SimConnectProtocol.Ipv4);

// Other alternatives, use existing SimConfig.cfg and specify config index:
// fsConnect.Connect(1);
// or
// fsConnect.Connect();
fsConnect.FsDataReceived += HandleReceivedFsData;

List<SimProperty> definition = new List<SimProperty>();
Expand Down Expand Up @@ -95,4 +101,4 @@ namespace FsConnectTest
}
}
}
```
```

0 comments on commit f743f93

Please sign in to comment.