It does this by communicating over TCP/UDP on the local network. It also experimentally supports encrypted bluetooth, similar to how iOS/macOS does it
@rubenwardy More accurately, Plasma is the desktop within the Desktop Environment. Hence KDE Plasma.
I've been informed that the correct name for the #KDE DE is Plasma, I thought that was just a code name for a version of KDE. Not confusing at all :D