Xref: utzoo comp.lang.c:24436 comp.unix.wizards:19678 comp.unix.questions:18341 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!bri From: bri@boulder.Colorado.EDU (Brian Ellis) Newsgroups: comp.lang.c,comp.unix.wizards,comp.unix.questions Subject: Re: signals? Message-ID: <14757@boulder.Colorado.EDU> Date: 10 Dec 89 19:38:42 GMT References: <846@usl.usl.edu> Sender: news@boulder.Colorado.EDU Reply-To: bri@boulder.Colorado.EDU (Brian Ellis) Organization: University of Colorado, Boulder Lines: 11 In article <846@usl.usl.edu> pcb@usl.usl.edu (Peter C. Bahrs) writes: >I want to send the server an urgent message from within a client >application. I want the server to stop what it is doing, handle >the request and continue (interrupt-ish). >I think I want to set a signal on incoming socket messages? You can arrange to have SIGIO delivered to your server when a read is possible from a descriptor (your socket). see fcntl(2). Or you could open up a second socket and use out-of-band stuff. -brian ellis (bri@boulder.Colorado.EDU)