Linux SoftwareProgrammingLibrariesNet::Daemon::SSL 1.0

Net::Daemon::SSL 1.0


Net::Daemon::SSL is a SSL extension for Net::Daemon. SYNOPSIS use Net::Daemon::SSL; package MyDaemon; @MyDaemon::ISA = qw
Developer:   Michael Kulakov
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   2K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Net::Daemon::SSL is a SSL extension for Net::Daemon.

SYNOPSIS

use Net::Daemon::SSL;
package MyDaemon;
@MyDaemon::ISA = qw (Net::Daemon::SSL);
sub Run
{
my $this = shift;
my $buffer;
$this->{socket}->print ( "vasja was heren" );
$this->{socket}->sysread ( $buffer, 100 ); # Attention! getline() method
# do not work with IO::Socket::SSL
# version 0.73
# see perldoc IO::Socket::SSL
# for more details
}
package main;
my $daemon = new MyDaemon ( {}, @ARGV ); # you can use --help command line key
$daemon || die "error create daemon instance: $!n";
$daemon->Bind();
__top

This class implements an IO::Socket::SSL functionality for Net::Daemon class. See perldoc Net::Daemon for more information about Net::Daemon usage.

Options

This method add IO::Socket::SSL specific options ( SSL_use_cert, SSL_verify_mode, SSL_key_file, SSL_cert_file, SSL_ca_path, SSL_ca_file ) to generic Net::Daemon options. See perldoc IO::Socket::SSL for description of this options

Bind

This method creates an IO::Socket::SSL::SafeAccept socket, stores this socket into $this->{socket} and passes control to parent Net::Daemon::Bind. The IO::Socket::SSL::SafeAccept is a class inherited from IO::Socket::SSL with the only difference from parent class - the accept() method of this class returns EINTR on *any* error. This trick is needed to ``hack'' Net::Daemon::Bind functionality: if this method gets an error from accept() ( Net::Daemon::SSL auth error, for example ) it will call Fatal() method and die unless this is a EINTR error.

Requirements:
  • Perl
    tags net daemon  socket ssl  daemon ssl  daemon bind  see perldoc  this {socket}  this method  ssl safeaccept  file ssl  ssl for  for net  for more  this class  

    Download Net::Daemon::SSL 1.0


     ftp://ftp.lug.ro/CPAN/authors/id/M/MK/MKUL/Net-Daemon-SSL-1.0.tar.gz


    Authors software

    Net::Daemon::SSL 1.0 (by Michael Kulakov)
    Net::Daemon::SSL is a SSL extension for Net::Daemon.

    SYNOPSIS

    use Net::Daemon::SSL;
    package MyDaemon;
    @MyDaemon::ISA = qw


    Similar software

    Net::Daemon::SSL 1.0 (by Michael Kulakov)
    Net::Daemon::SSL is a SSL extension for Net::Daemon.

    SYNOPSIS

    use Net::Daemon::SSL;
    package MyDaemon;
    @MyDaemon::ISA = qw

    MP3::Daemon 0.63 (by John BEPPU)

    MP3::Daemon::Simple 0.63 (by John BEPPU)
    MP3::Daemon::Simple is a daemon for the mp3(1p) client.

    SYNOPSIS

    Fork a daemon

    MP3::Daemon::Simple->spawn($socket_path);

    smta 0.9 (by Andrea Marchesini)

    mini-at 1.0.1 (by Laurence Withers)
    mini-at is a small at-type daemon and commandline utility

    Network Security Monitor Daemon 4.0 (by Ricardo Galli)
    The Network Security Monitor Daemon is a lightweight network security monitor for TCP/IP LANs

    Class::Meta::Type 0.53 (by David Wheeler)
    Class::Meta::Type is a Perl module for data type validation and accessor building.

    SYNOPSIS

    package MyApp::TypeDef;

    use

    Makejail 1.16 (by Alain T?sio)
    Makejail employs short configuration files to help administrators create and maintain chroot jails

    Socat 1.5.0.0 (by Gerhard Rieger)
    Socat project is a relay for bidirectional data transfer between two independent data channels.

    Each of these data channels may be

    CPPSERV 0.1.98 (by Ilya VE)


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags