Generic protocol: Difference between revisions

Jump to navigation Jump to search
m
start and stop connection from Nasal console
m (→‎Wiki articles: +- Howto:Record, analyze and replay flights with network tools → Howto:Record, analyze and replay multiplayer flights with network tools)
m (start and stop connection from Nasal console)
Line 433: Line 433:


[todo] - link here to the tutorial
[todo] - link here to the tutorial
== Alternative start using Nasal ==
It is also possible to start and stop from within the Nasal console. Start the Nasal console from the Debug menu and type the following (modify accordingly) and click Execute:
fgcommand("add-io-channel", {"config": "generic,socket,out,10,localhost,6789,udp,my_protocol", "name": "test"});
Name is optional but can be used to stop the connection using:
fgcommand("remove-io-channel", {"name": "test"});


== Related content ==
== Related content ==
4

edits

Navigation menu