Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!bgsuvax!majumdar From: majumdar@bgsuvax.UUCP (anindo Majumdar) Newsgroups: comp.protocols.tcp-ip Subject: Any way of sending an interrupt to a program whenever message arrives in socket Message-ID: <7134@bgsuvax.UUCP> Date: 13 Mar 91 18:15:28 GMT Reply-To: majumdar@bgsuvax.UUCP (anindo Majumdar) Organization: Bowling Green State Univ, Bowling Green, OH Lines: 7 Is there anyway an interrupt can be sent to a program whenever a message intended for it arrives on a socket?Is there a standard signal available in Berkeley 4.2 BSD Unix for such an interrupt ?Basically I do not want to wait on a recvfrom call.At the same time I would like to handle any messages.(A recvfrom call with a non blocking option set doesn't help as it returns an error E_WOULDBLOCK if there are no messages when the recvfom is executed).Any pointers will be appreciated. Internet : majumdar@andy.bgsu.edu