ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Net-FCP/eg/simple
Revision: 1.1
Committed: Sun Sep 7 23:20:24 2003 UTC (23 years ago) by root
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/usr/bin/perl
2
3 use Net::FCP;
4
5 my $fcp = new Net::FCP host => "10.9.0.31";
6
7 my $nodehello = $fcp->client_hello;
8
9 print "your node:\n";
10 print "protocol version: $nodehello->{protocol}\n";
11 print "node description: $nodehello->{node}\n";
12 print "maximum file size: $nodehello->{max_file_size}\n";
13
14