home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!matthew
- From: matthew@sunpix.East.Sun.COM (Matthew Stier - Sun NC Development Center)
- Newsgroups: comp.lang.perl
- Subject: Re: Sockets on Solaris
- Date: 22 Jan 1993 21:29:01 GMT
- Organization: Sun Microsystems, Research Triangle Park, NC
- Lines: 28
- Message-ID: <1jpouuINN111@sixgun.East.Sun.COM>
- References: <C180qw.8A8@HQ.Ileaf.COM>
- NNTP-Posting-Host: klondike.east.sun.com
-
- In article <C180qw.8A8@HQ.Ileaf.COM> ross@HQ.Ileaf.COM (Ross Knights) writes:
- }The Berkeley IPC functions (socket(), bind(), getservbyname(), et al.)
- }appear to be unavailable in Perl under Solaris, which is System V.
- }(I have Perl version 4.0, patch level 19.)
- }
- }However, since /usr/lib/libsocket.so on Solaris provides these
- }functions, is there a straightforward way to include them and enable
- }IPC?
- }
- }--
- }Ross Knights Interleaf, Inc. Waltham, Mass. (617) 290-4990
- }ross@ileaf.com
-
- I've got no problems using sockets under Solaris 2.X.
-
- First, upgrade your version of Perl to the latest patchlevel (4.035)
-
- Second, Use the Solaris 2 hint while compiling.
-
- Third, Don't hardcode arguments. They value of SOCK_STREAM changes from
- 1 to 2 between Solaris 1.x and 2.x
-
-
- --
- Matthew Lee Stier |
- Sun Microsystems --- RTP, NC 27709-3447 | "Wisconsin Escapee"
- Email: matthew.stier@East.Sun.COM |
- Phone: (919) 469-8300 fax: (919) 460-8355 |
-