config root man

Current Path : /usr/local/share/examples/Net-SSLeay/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/share/examples/Net-SSLeay/tcpcat.pl

#!/usr/bin/perl
# tcpcat.pl - Send a message and receive a reply from TCP server.
#
# Copyright (c) 2003 Sampo Kellomaki <sampo@iki.fi>, All Rights Reserved.
# $Id$
# 17.8.2003, created --Sampo
 
$host = 'localhost' unless $host = shift;
$port = 443         unless $port = shift;
$msg = "get \n\r\n" unless $msg = shift;

print "$host $port $msg\n";
use Net::SSLeay qw(tcpcat);
print tcpcat($host, $port, $msg);
 
__END__

Man Man