Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I'm now making a simple script using Net::Daemon::SSL.
However, the code listed below(which appeared in )
does not work .
The error message of this script is

"Cannot create socket: No such file or directory at
/usr/lib/perl5/site_perl/5.6.1/Net/Daemon/ line 108.
at /usr/lib/perl5/site_perl/5.6.1/Net/Daemon/ line 136."

I want to know a "REAL" sample of Net::Daemon::SSL.


----- script start -----
use Net::Daemon::SSL;

package MyDaemon;
@MyDaemon::ISA = qw (Net::Daemon::SSL);
sub Run {
        my $this = shift;
        my $buffer;
        $this->->print ( "vasja was here=A5n" );
        $this->->sysread ( $buffer, 100 );

package main;
my $daemon = new MyDaemon ({},@ARGV);
$daemon || die "error create daemon instance: $!=A5n";
----- script end -----

Site Timeline