Farly::Transport::Protocol - TCP/IP protocol class
Represents an 8 bit TCP/IP protocol integer as an object
my $protocol = Farly::Transport::Protocol->new();
Returns the integer protocol number.
my $8_bit_int = $protocol->protocol();
Returns true if the protocols are equal.
$protocol->equals( $protocol_2 );
Returns true if $protocol is "ip" or all protocols. Returns true if the protocols are equal.
$protocol->contains( $protocol_2 );
$protocol->intersects( $protocol_2 );
Returns the string value
Farly::Transport::Protocol Copyright (C) 2012 Trystan Johnson
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
To install Farly, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.