Date: Thu, 18 Nov 1999 06:50:47 -0500 From: James Bailie <jazzturk@home.com> To: freebsd-questions@freebsd.org Subject: Perl socketpair() failing Message-ID: <19991118065047.A1636@cr31617-a.lndn1.on.wave.home.co>
next in thread | raw e-mail | index | archive | help
The socketpair function of the standard Perl built with my 4.0-CURRENT system always fails. The snippet below dies with, "Protocol not supported," leading one to think perhaps the wrong constants were used, but they work fine in C, and I do believe Socket.pm merely imports what's in sys/socket.h. Can anyone enlighten me here if this is a 4.0-CURRENT configuration issue or not? use Socket; unless( socketpair ONE, TWO, AF_LOCAL, SOCK_STREAM, 0 ) { die "socketpair: $!\n"; } -- James Bailie http://members.home.net/jazzturk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991118065047.A1636>