Send and recieve UDP commands to/from Pharos - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Send and recieve UDP commands to/from Pharos (/showthread.php?tid=5842) |
Send and recieve UDP commands to/from Pharos - stonecroft - 14.01.2025 Hello. I use this script to send UDP commands to a Pharos Designer LPC and it works fine. Now I need to recieve status from the Pharos controler via UDP. Seartch the forum but cant find any good start. Someone who has an example? Code: value = event.getvalue() RE: Send and recieve UDP commands to/from Pharos - admin - 14.01.2025 You need to bind your receiving socket: Code: sock:setpeername('*', port) RE: Send and recieve UDP commands to/from Pharos - stonecroft - 14.01.2025 My script is a event base script. To recieve I think I need a resident script or am I totaly wrong? RE: Send and recieve UDP commands to/from Pharos - admin - 14.01.2025 Yes, you need a resident script. |