If you cannot change the sending side, I think that using Net::Telnet is the wrong tool. Have you considered using simple plain sockets, via connect? All more specific layers will likely have problems with the data potentially containing delimiters.
Also see Modbus. Especially Modbus::Client seems to be a potential solution, if you open the socket first and then pass it in to the Modbus::Client constructor.
In reply to Re^3: Telnet.pm and IAC
by Corion
in thread Telnet.pm and IAC
by PaulNg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |