You don't strictly need a local network, you could probably get it to work across a VPN. As long as you can get a TLS connection directly between the two devices.
In my experience the protocol is quite light on the network, because this directly influences where the cursor is on your screen you probably want to keep latency down as much as possible.
In my experience the protocol is quite light on the network, because this directly influences where the cursor is on your screen you probably want to keep latency down as much as possible.