|
NAMENet::Packet::DescL4 - object for a transport layer (layer 4) descriptor SYNOPSIS require Net::Packet::DescL4;
# Get NP_DESC_* constants
use Net::Packet::Consts qw(:desc :layer);
# Usually, you use it to send TCP and UDP frames over IPv4
my $d4 = Net::Packet::DescL4->new(
target => '192.168.0.1',
protocol => NP_DESC_IPPROTO_TCP,
family => NP_LAYER_IPv4,
);
$d4->send($rawStringToNetwork);
DESCRIPTIONSee also Net::Packet::Desc for other attributes and methods. ATTRIBUTES
METHODS
AUTHORPatrice <GomoR> Auffret COPYRIGHT AND LICENSECopyright (c) 2004-2009, Patrice <GomoR> Auffret You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive. RELATED MODULESNetPacket, Net::RawIP, Net::RawSock
|