NAME
Net::UNIX::Server - UNIX-domain sockets interface module for listeners
SYNOPSIS
use Socket; # optional
use Net::Gen; # optional
use Net::UNIX; # optional
use Net::UNIX::Server;
DESCRIPTION
The Net::UNIX::Server module provides additional services for UNIX-domain socket communication. It is layered atop the Net::UNIX and Net::Gen modules, which are part of the same distribution.
Public Methods
The following methods are provided by the Net::UNIX::Server module itself, rather than just being inherited from Net::UNIX or Net::Gen.
- new
-
Usage:
$obj = new Net::UNIX::Server; $obj = new Net::UNIX::Server $pathname; $obj = new Net::UNIX::Server $pathname, \%parameters;Returns a newly-initialised object of the given class. This is much like the regular
newmethods of other modules in this distribution, except that it does abindrather than aconnect, and it does alisten. Unless specified otherwise with atypeobject parameter, the underlying socket will be a datagram socket. - init
-
Usage:
return undef unless $self = $self->init; return undef unless $self = $self->init(\%parameters); return undef unless $self = $self->init($pathname); return undef unless $self = $self->init($pathname, \%parameters);Verifies that all previous parameter assignments are valid (via
checkparams). Returns the incoming object on success, andundefon failure. Usually called only via a derived class'sinitmethod or its ownnewcall.
Protected Methods
[See the description in "Protected Methods" in Net::Gen for my definition of protected methods in Perl.]
None.
Known Socket Options
There are no socket options known to the Net::UNIX::Server module itself.
Known Object Parameters
There are no object parameters registered by the Net::UNIX::Server module itself.
Exports
- default
-
None.
- exportable
-
None.
-
The following :tags are available for grouping exportable items:
AUTHOR
Spider Boardman <spider@Orb.Nashua.NH.US>