home *** CD-ROM | disk | FTP | other *** search
- 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
- From: peter@ski.austin.ibm.com (Peter Jeffe 512.838.4019)
- Newsgroups: comp.unix.aix
- Subject: Re: prob w/ sockets
- Message-ID: <1992Nov21.001323.16844@awdprime.austin.ibm.com>
- Date: 21 Nov 92 00:13:23 GMT
- References: <102483@bu.edu>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: The Kernel Group, Inc.
- Lines: 17
-
- In article <102483@bu.edu> tasos@cs.bu.edu (Anastasios Kotsikonas) writes:
- >let me first reiterate my frustration with AIX; the problem: I am writing
- >a gateway which accepts tcp/ip connections on both ends and passes info
- >back and forth; both sockets are marked as non-blocking. Well, the code
- >works perfectly well on SGI, HP, SUN, DG and pure SVR4 systems and the
- >g..damn AIX screws up; one of the sockets BLOCKS!!!! Here the relevant
- >piece of code:
-
- Actually, the relevant piece of code would be where you set the socket
- to be non-blocking. Are you doing an ioctl(FIONBIO) or fcntl(SETFL,FNDELAY)?
- If the latter, then you need to link with libbsd before libc to get the
- bsd-style fcntl behavior (see /usr/lpp/bos/bsdport). If the former,
- then I'm not sure what the problem could be, since non-blocking sockets
- seems to work fine. Have you called the problem in to customer support?
-
- --
- peter jeffe peter@aixwiz.austin.ibm.com
-