Yes, they are both connected via Wifi.
Phone Link/Link to windows has a setting to only connect through Wifi.
I don't see that setting in Samsung flow. But it works fine with the phone in airplane mode (cell disabled, Wifi on).
I have not noticed a performance/lag difference between the two apps. The screen sharing is snappy in both.