home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11798 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.4 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!ski.austin.ibm.com!peter
  2. From: peter@ski.austin.ibm.com (Peter Jeffe 512.838.4019)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: prob w/ sockets
  5. Message-ID: <1992Nov21.001323.16844@awdprime.austin.ibm.com>
  6. Date: 21 Nov 92 00:13:23 GMT
  7. References: <102483@bu.edu>
  8. Sender: news@awdprime.austin.ibm.com (USENET News)
  9. Organization: The Kernel Group, Inc.
  10. Lines: 17
  11.  
  12. In article <102483@bu.edu> tasos@cs.bu.edu (Anastasios Kotsikonas) writes:
  13. >let me first reiterate my frustration with AIX; the problem: I am writing
  14. >a gateway which accepts tcp/ip connections on both ends and passes info
  15. >back and forth; both sockets are marked as non-blocking. Well, the code
  16. >works perfectly well on SGI, HP, SUN, DG and pure SVR4 systems and the
  17. >g..damn AIX screws up; one of the sockets BLOCKS!!!! Here the relevant
  18. >piece of code:
  19.  
  20. Actually, the relevant piece of code would be where you set the socket
  21. to be non-blocking.  Are you doing an ioctl(FIONBIO) or fcntl(SETFL,FNDELAY)?
  22. If the latter, then you need to link with libbsd before libc to get the
  23. bsd-style fcntl behavior (see /usr/lpp/bos/bsdport).  If the former,
  24. then I'm not sure what the problem could be, since non-blocking sockets
  25. seems to work fine.  Have you called the problem in to customer support?
  26.  
  27. -- 
  28. peter jeffe  peter@aixwiz.austin.ibm.com
  29.