home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / perl / 7953 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.4 KB

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