2
280SEL
Hello:
I hope that someone can set me on the right track with this:
I am trying to establish a Heartbeat with a remote machine using Perl.
I am sending a string like so:
print $socket "$output";
In order to keep the line open, the remote machine wants a carriage
return at the end (HEX 0D).
I have tried the perl \n, I have tried all kinds of ways , including:
$output=$string.hex'0D';
print $socket "$output";
This, of course, translates the hex carriage return into Decimal 13
and sends that number which doesn't help.
Does anybody know how to do this?
Any help would be greatly appreciated!
I hope that someone can set me on the right track with this:
I am trying to establish a Heartbeat with a remote machine using Perl.
I am sending a string like so:
print $socket "$output";
In order to keep the line open, the remote machine wants a carriage
return at the end (HEX 0D).
I have tried the perl \n, I have tried all kinds of ways , including:
$output=$string.hex'0D';
print $socket "$output";
This, of course, translates the hex carriage return into Decimal 13
and sends that number which doesn't help.
Does anybody know how to do this?
Any help would be greatly appreciated!