Path: utzoo!news-server.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ames!uhccux!munnari.oz.au!metro!kwanon!andy From: andy@research.canon.oz.au (Andy Newman) Newsgroups: comp.unix.programmer Subject: send(2) setting errno to EOPNOTSUPP (SunOS 4.1) Message-ID: <1991Mar13.021001.9927@research.canon.oz.au> Date: 13 Mar 91 02:10:01 GMT Organization: Canon Information Systems Research Australia Lines: 19 I'm doing some IPC programming under SunOS 4.1 and have been getting some strange results. I've got a set of IPC routines that use SOCK_STREAM UNIX domain sockets as the underlying transport and send(2) is returning -1 with errno == EOPNOTSUPP. Question: What does this mean? According to Sun's on-line manual send(2) doesn't set errno to this value (I was setting it to zero before my call so send was really setting errno). I create the socket and connect(2) on it okay and even select(2) to wait until writing on it will proceed without blocking. If I enable my debug output and slow the process down a little it works. The other side of the socket doesn't do anything in between its accept(2) and a recv(2) on the socket so it shouldn't be affecting the situation. Any pointers? Any help would be much appreciated. -- Andrew Newman | Net: andy@research.canon.oz.au Canon Information Systems Research Australia | Phone: +61 2 805 2914 P.O. Box 313 North Ryde, NSW, Australia 2113 | Fax: +61 2 805 2929