Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucsd!swrinde!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: sockets Keywords: sockets, primer Message-ID: <3405@auspex.auspex.com> Date: 29 May 90 21:06:26 GMT Article-I.D.: auspex.3405 References: <24943@usc.edu> <102572@convex.convex.com> <24957@usc.edu> Organization: Auspex Systems, Santa Clara Lines: 10 >read(socket, buf, sizeof(buf)) is always returning sizeof(buf), even >though that many characters weren't necessarily read into buf. Are you absolutely certain of that? >The man pages say something about ioctl(), and using >"STREAMS message-nondiscard" mode, but I can't figure out how to do this. You can't do that. Sockets are not implemented as streams devices in SunOS 4.x.