Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!philapd!ssp4!harald From: harald@idca.tds.PHILIPS.nl (Harald Tempelman) Newsgroups: comp.unix.wizards Subject: Read Notification on SYSV.3.2 Message-ID: <421@ssp4.idca.tds.philips.nl> Date: 12 Dec 89 10:13:48 GMT Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 27 When scanning the code concerning STREAMS on SYSV.3.2 I noticed that I can do something to get in my multiplexor driver a notification from the streams head when a read is done on that stream. To get such a notification, the multiplexor can send an M_SETOPTS message to the streams head with the field 'so_flags' set to SO_MREADON. When this has been set the streams head will send an M_READ message to my driver at the time a process will perform a read on that stream. But, this feature is not documented. In the tutorials of SYSV.4, the M_READ message still exists in an include file, but nothing else concerning this option is mentioned. Does anybody know about this read notification on STREAMS? I would like to know if it works at the moment and if this feature also exists in further releases of SYSV. When this works I would also know if I understood the working of this feature correct. Thanks, Harald -- +----------------------------------------------------------------------------+ | Harald Tempelman Internet: harald@idca.tds.philips.nl | | UUCP: ...!mcvax!philapd!harald | +----------------------------------------------------------------------------+