TCP receive with DENON Amplifier - 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: TCP receive with DENON Amplifier (/showthread.php?tid=5648) |
TCP receive with DENON Amplifier - Hadeel - 03.10.2024 Hi! I am trying to connect DENON Amplifier with TCP. While I can send message successfully to DENON, I cannot receive reply from it. With my laptop I tried TCP with telnet and confirmed that DENON gives back response to my terminal. Following is what I have tried with resident script (interval = 0) but I got no message. Thank you very much in advance! Code: if not server then RE: TCP receive with DENON Amplifier - admin - 03.10.2024 receive without timeout will wait until a new line (\n) character is received. Try this script instead: Code: sock = require('socket').tcp() RE: TCP receive with DENON Amplifier - Hadeel - 07.10.2024 Thank you admin! It did solve the issue and I can now get the reply from the amplifier! The issue was, as you said, this amplifier replies message without a single new line (\n) character.... Thank you so much as always! |