*BSD News Article 45725


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!mel.dit.csiro.au!merlin!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.bluesky.net!news.sprintlink.net!cs.utexas.edu!usc!usc!not-for-mail
From: chris@mimosa.usc.edu (Christopher Ho)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: NetBSD/Perl Socket Problems
Date: 16 Jun 1995 18:45:53 -0700
Organization: University of Southern California, Los Angeles, CA
Lines: 8
Sender: chris@mimosa.usc.edu
Message-ID: <3rtc4h$8vv@mimosa.usc.edu>
References: <3rqgsv$f0f@loki.novalink.com>
NNTP-Posting-Host: mimosa.usc.edu

In article <3rqgsv$f0f@loki.novalink.com>, Robert Hewlett wrote:
>I am having a problem opening a socket in a perl script.  The script   
>works fine under Solaris, but fails at the socket call.  Any suggestions? 

Check the constants used in your Perl script.  SunOS 5.n changed the
values for SOCK_STREAM & SOCK_DGRAM compared to SunOS 4/BSD derivatives.
 
Chris