NAME
Net::Write::Layer - base class for all LayerN modules
DESCRIPTION
This is the base class for Net::Write::Layer2, Net::Write::Layer3 and Net::Write::Layer4 modules.
It just provides those layers with inheritable attributes and methods.
A descriptor is required when you want to send frames over network, this module just create this descriptor, and give the programmer methods to write to the network.
ATTRIBUTES
Attributes are specific to each LayerN module. Just see perldoc for the wanted LayerN.
METHODS
- new
-
Object constructor.
- send (scalar)
-
Send the raw data passed as a parameter. Returns undef on failure, true otherwise.
- close
-
Close the descriptor.
AUTHOR
Patrice <GomoR> Auffret
COPYRIGHT AND LICENSE
Copyright (c) 2006, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See Copying file in the source distribution archive.