My understanding is that the Android device is given a local network address, and connects to a UDP port on that address. One the “server” side, the driver listens for instructions at that port.
How is trust established between client and server? In other words, how do I know a trusted Android device is connecting to my PC, not some stranger’s Android device?
Are any other connection mechanisms being considerd an/or viable, including authentication network connections (e.g. MOSH - SSH over UDP), Bluetooth connections or physical connections (e.g. USB) ?