It’s always a smart idea to setup the different lasers as different devices. Since the focus length and location will be different.
The snapmaker doesn’t accept serial connections over TCP/Wifi, so this option is moot. You can, however, use my drag/drop scripts found here. Which is the sole way I send/run programs on my machines.