+16Sep14=======================================================================
+1. Fix (now) missing error_handler
30Aug14=======================================================================
1. add CTY-2409 prefixes
2. add new wpxloc.raw
use vars qw($version $build $gitversion);
$version = '1.57';
-$build = '41';
-$gitversion = '4d20bb1';
+$build = '42';
+$gitversion = '03e07f8';
1;
$conn->conns($call) if $conn->isa('IntMsg');
# set callbacks
- $conn->set_error(sub {my $err = shift; error_handler($dxchan, $err)});
+ $conn->set_error(sub {my $err = shift; LogDbg('DXCommand', "Comms error '$err' received for call $dxchan->{call}"); $dxchan->disconnect(1);});
$conn->set_on_eof(sub {$dxchan->disconnect});
$conn->set_rproc(sub {my ($conn,$msg) = @_; $dxchan->rec($msg);});
$dxchan->rec($msg);