Subject: | Another problem with IO::Socket on BeOS |
On BeOS, IO::Socket fails to load with:
"Your vendor has not defined Socket macro AF_UNIX, used at
/boot/home/config/lib/perl5/5.8.8/BePC-beos/IO/Socket/UNIX.pm line 18"
A hack is to edit ../lib/perl5/5.8.8/BePC-beos/IO/Socket/INET.pm
commenting out line 25 thus:
my %socket_type = ( tcp => SOCK_STREAM,
udp => SOCK_DGRAM
# icmp => SOCK_RAW
);
Of course that is NOT a proper fix, I'd welcome a fix that supports
systems without SOCK_RAW