I'm trying to get a basic socket program started, but using
SessionSet.pm for some trial and error non-blocking programming.

     The problem is that my program accepts a connection, but then
complains after I connect to it, trying to use SessionSet->New.

/* Program Output */
Listening for connections ...
Can't locate auto/IO/Socket/INET/blocking.al in @INC (@INC contains:
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 .) at
/usr/local/lib/perl5/site_perl/5.005/IO/SessionData.pm line 21

I'm on a FreeBSD system, and installed Soap-Lite-0.52 in order to use
SessionSet, but it would seem this isn't the package I need.  I've
also tried running find . -name '*.al' at root to verify it really is
missing (yep, its not there).

     Does anyone know what package blocking.al would be found or is that
not the 'real' issue in this case?  If not, what's the problem?  

Thanks,

Will

############################################
#code snippet follows, (possibly not needed)
############################################

#!/usr/bin/perl
# sockets test
use strict;
use IO::SessionSet;
use IO::Socket;
use constant PORT => 12000;
my $listen_socket = IO::Socket::INET->new(LocalPort => PORT,
                                          Listen    => 20,
                                          Proto     => 'tcp',
                                          Reuse     => 1);
################################
# Complains here
#################################
my $session_set= IO::SessionSet->new($listen_socket);





_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to