What scripting language does a screen sharing/controlling program use?

So my question is… what scripting language does a screen sharing program use… for example… I use adobe connect now and people are able to not only see my screen but they are also able to control it from any location worldwide. What scripting language is this?

Thanks

Well you could make something like that in C++ but also in DotNet. And then if you take a look at TeamViewer, that uses a displayserver which both parties connect to. If you use RDP of windows self then the displayserver is the host which the client connects to. Its not really scripting but a continues screen capture which is encoded (reduces the need of bandwith) and then send to the client. The keyboard and mouse interactions are also received in the displayserver program.