home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / perl / 6934 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!news.uta.edu!hermes.chpc.utexas.edu!news.utdallas.edu!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: [bind] Bind on a Cray
  5. Originator: tchrist@pixel.convex.com
  6. Sender: usenet@news.eng.convex.com (news access account)
  7. Message-ID: <1992Nov11.001956.11844@news.eng.convex.com>
  8. Date: Wed, 11 Nov 1992 00:19:56 GMT
  9. Distribution: usa
  10. Reply-To: tchrist@convex.COM (Tom Christiansen)
  11. References: <1992Nov10.231920.15576@nas.nasa.gov>
  12. Nntp-Posting-Host: pixel.convex.com
  13. Organization: Convex Computer Corporation, Colorado Springs, CO
  14. X-Disclaimer: This message was written by a user at CONVEX Computer
  15.               Corp. The opinions expressed are those of the user and
  16.               not necessarily those of CONVEX.
  17. Lines: 25
  18.  
  19. From the keyboard of jns@ace.nas.nasa.gov (John N. Stewart):
  20. :
  21. :Configuration: 6.1.6 nas.29 CRAY Y-MP
  22. :Error:         bind: Invalid argument
  23. :
  24. :Code Frag:     bind(DATA, $us) || die "bind: $!\n";
  25. :
  26. :
  27. :The program is the Perl version of archie, yet the Cray bind doesn't
  28. :act differently on a call basis. Has anyone run into this on some
  29. :architecture of some type, and could have a clue where the problem
  30. :lies? 
  31.  
  32. The problem doesn't lie, the program does.  It lies about the 
  33. types of the socket struct args.  Compare the evilly hardcoded
  34. socket structs with what c2ph tells you to use.
  35.  
  36. Just a guess, but I've heard of this on Crays before.
  37.  
  38. --tom
  39. -- 
  40.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  41.  
  42. "I think there's a world market for about 5 computers."
  43.     - Thomas J. Watson, Chairman of the Board, IBM (around 1948)
  44.