Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!ccut!wnoc-tyo-news!sranha!anprda!akira From: akira@atson.asahi-np.co.jp (Akira Takiguchi) Newsgroups: comp.unix.questions Subject: Re: SIGIO on a udp socket - how should I do? (4.3BSD) Message-ID: <1268@anprda.atson.asahi-np.co.jp> Date: 30 Mar 91 13:06:26 GMT References: <1264@anprda.atson.asahi-np.co.jp> <1622@spim.mips.COM> Reply-To: akira@anprda.atson.asahi-np.co.jp (Akira Takiguchi) Organization: ATSON, Inc. Lines: 17 In article <1622@spim.mips.COM> trevc@mips.com writes: >> I'm writing an application which use sunrpc[udp] for interprocess >> communication. Since I need asynchronous processing, I tried to set >> FASYNC flag on the udp socket but no SIGIO seems to be delivered when >> request arrives. Is there something I should do to get SIGIO properly? > >Did you set the process ID or process group ID that you want the SIGIO >delivered to? I did; the bug was in the "fork-to-become-daemon" code which failed to set up new process group id correctly :-(. I should have found it before posting... Anyway, thank you very much for your advice; now everything works fine. -- | Akira Takiguchi at ATSON, Inc. (a subsidiary of the Asahi Shimbun) | WAKO GINZA bldg. 8-10-4 Ginza Chuo-ku Tokyo 104 Japan | Phone +81 3 3289 7051 Fax +81 3 3289 7066 SORRY, EMAIL NOT AVAILABLE