Thanks for your answer!
Yes, I am aware what kind of experince is expected and I have MS Visual Studio 2022 in my home.
Used mostly for developping C programs.
I got interested in TNI because of offered socket interface, so why not?
I can develop Android apps using MS VC 2022 that supports Android sockets.
Imagine a home network with PC, TV and some kind of Android Equipment
First step to connect the Android unit to TV(PC) and Exchange small "commands" (UDP/TCP packets).
This can be done by develop an Android client and on the TV(PC) a Trainz(TNI) server,
i.e. Android socket handling <=> TNI socket handling preferrably exchanged via small UDP packets.
For example sitting in front of your TV and sending commands from your Android unit.
Have more ideas. This is just a startup to know more about the interface.
Of course, I know nothing about the TNI socket, and as a start such as:
1.Are the socket handlers embedded into the Trainz script library?
2. If not, how?
3. How much of TNI socket handling has been tested ?
4. Which socket methods can be used?
5. ControlSet, keyboard emulation and....