Any example in perl on how to connect via telnet?
# Change to your instrument's hostname
my $instrumentName = "xxxxx";
# Get socket
$sock = new IO::Socket::INET ( PeerAddr => $instrumentName, PeerPort => 5024, Proto => 'tcp', );
die "Socket Could not be created, Reason: $!\n" unless $sock;
I can connect manually but with this script.