#
*
*
# $Id: send.pl,v 1.7 2011/03/05 23:52:29 tbox Exp $
#
# Send a file to a given address and port using TCP. Used for
# configuring the test server in ans.pl. #
@
ARGV ==
2 or die "usage: send.pl host port [file ...]\n";
Proto =>
"tcp",)
or die "$!";
while (<>) {
$
sock->
syswrite($_,
length $_);
}