signals?
Brian Ellis
bri at boulder.Colorado.EDU
Mon Dec 11 06:38:42 AEST 1989
In article <846 at usl.usl.edu> pcb at 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 at boulder.Colorado.EDU)
More information about the Comp.unix.wizards
mailing list