GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::WRITE::LAYER (3)

.ds Aq ’

NAME

Net::Write::Layer - base class and constants

CONTENTS

SYNOPSIS



   use Net::Write::Layer qw(:constants);



DESCRIPTION

This is the base class for <B>Net::Write::Layer2B>, <B>Net::Write::Layer3B> and <B>Net::Write::Layer4B> modules.

It just provides those layers with inheritable attributes, methods and constants.

ATTRIBUTES

<B>devB> Network interface to use.
<B>dstB> Target IPv4 or IPv6 address.
<B>protocolB> Transport layer protocol to use (TCP, UDP, ...).
<B>familyB> Adresse family to use (NW_AF_INET, NW_AF_INET6).

METHODS

<B>newB> Object constructor.
<B>openB> Open the descriptor, when you are ready to <B>sendB>.
<B>sendB> (scalar) Send the raw data passed as a parameter. Returns undef on failure, true otherwise.
<B>closeB> Close the descriptor.

CONSTANTS

<B>NW_AF_INETB>
<B>NW_AF_INET6B>
<B>NW_AF_UNSPECB> Address family constants, for use with <B>familyB> attribute.
<B>NW_IPPROTO_IPB>
<B>NW_IPPROTO_IPv6B>
<B>NW_IPPROTO_ICMPv4B>
<B>NW_IPPROTO_TCPB>
<B>NW_IPPROTO_UDPB>
<B>NW_IPPROTO_ICMPv6B> Transport layer protocol constants, for use with <B>protocolB> attribute.
<B>NW_IP_HDRINCLB>
<B>NW_IPPROTO_RAWB> Mostly used internally.

SEE ALSO

Net::Write::Layer2, Net::Write::Layer3, Net::Write::Layer4

AUTHOR

Patrice <GomoR> Auffret

COPYRIGHT AND LICENSE

Copyright (c) 2006-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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::WRITE::LAYER (3) 2009-06-10

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.