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

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!bu.edu!cs!tasos
  2. From: tasos@cs.bu.edu (Anastasios Kotsikonas)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: prob w/ sockets
  5. Message-ID: <102769@bu.edu>
  6. Date: 21 Nov 92 15:52:51 GMT
  7. References: <102483@bu.edu> <1992Nov21.001323.16844@awdprime.austin.ibm.com>
  8. Sender: news@bu.edu
  9. Organization: Computer Science Department, Boston University, Boston, MA, USA
  10. Lines: 16
  11.  
  12. In article <1992Nov21.001323.16844@awdprime.austin.ibm.com> peter@ski.austin.ibm.com (Peter Jeffe 512.838.4019) writes:
  13. >Actually, the relevant piece of code would be where you set the socket
  14. >to be non-blocking.  Are you doing an ioctl(FIONBIO) or fcntl(SETFL,FNDELAY)?
  15. >If the latter, then you need to link with libbsd before libc to get the
  16. >bsd-style fcntl behavior (see /usr/lpp/bos/bsdport).  If the former,
  17. >then I'm not sure what the problem could be, since non-blocking sockets
  18. >seems to work fine.  Have you called the problem in to customer support?
  19.  
  20. I am using fcntl and linking with -lbsd. Notice that the other socket *IS*
  21. behaving a non-blocking; it is the other one that's having the problem.
  22.  
  23.  
  24.  
  25. Tasos
  26.  
  27.  
  28.