X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtout.pm;h=75903f02912e25b2d0c29b808635a8779f799415;hb=937b3f6592ae13be16dfe171b30817ee39d27bf0;hp=2325e7a5cb36c9c9d1bfd51531c3638d3e315314;hpb=7e2b5e1e1f0543a093151889d6e76bcce82bae86;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 2325e7a5..75903f02 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -416,6 +416,17 @@ sub pc92c return _gen_pc92('C', 1, @_); } +# send a keep alive +sub pc92k +{ + my $nref = shift; + my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^K"; + $s .= "^" . _encode_pc92_call($nref, 1); + $s .= "^" . scalar $nref->nodes; + $s .= "^" . scalar $nref->users; + return $s . '^H99^'; +} + # send a 'find' message sub pc92f {