NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
what fun -- embedded Perl! (Score:1)
Using MicroPerl for embedded is a great idea. Microperl, not just for bootstrapping anymore.
Bill
# I had a sig when sigs were cool
use Sig;
microperl & sockets (Score:1)
Re: (Score:1)
I finally could make it work by using the following code (that allows my code to be rather platform-independant, if I fill in properly the first bunch of variables):
my $PF_UNIX=1;
my $AF_UNIX=$PF_UNIX;
my $SOCK_STREAM=2; # 1 for ix86, 2 for MIPS
my $SOMAXCONN=128;
my $sun_path_SIZE=2;
my $sun_family_SIZE=108;
#my $uaddr = sockaddr_un($SOCKFILE); # Create a UNIX socket (local)... not used because this requires Socket.pm... instead, we will pack the sockaddr_un