# (2) Converted checks to new plugin mechanism (Stephen Johnson May 28, 1999)
# Added user-configurable escalation mechanism
#
-# $Id: spong-network.pl,v 1.32 2001/02/09 01:59:38 sljohnson Exp $
+# $Id: spong-network.pl,v 1.33 2001/04/17 02:30:17 sljohnson Exp $
use Carp;
use lib "@@LIBDIR@@";
select((select(SOCK), $| = 1)[0]);
print SOCK "$data";
recv( SOCK, $line, 256, 0 ); # just grab a chunk from the service.
+ close( SOCK ) || die "close: $!";
};
alarm(0);
close( SOCK ) || die "close: $!"; # close even if our alarm went off