Xref: utzoo comp.unix.questions:29904 comp.sys.mips:1492 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!moosehead.mips.com!trevc From: trevc@moosehead.mips.com (Trevor Cotton) Newsgroups: comp.unix.questions,comp.sys.mips Subject: Re: SIGIO on a udp socket - how should I do? (4.3BSD) Message-ID: <1622@spim.mips.COM> Date: 29 Mar 91 18:25:31 GMT References: <1264@anprda.atson.asahi-np.co.jp> Sender: news@mips.COM Reply-To: trevc@mips.com Followup-To: comp.unix.questions Lines: 30 Nntp-Posting-Host: moosehead.mips.com In article <1264@anprda.atson.asahi-np.co.jp>, akira@atson.asahi-np.co.jp (Akira Takiguchi) 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? > > I'm on a MIPS RS3230 with RISC/OS 4.51, bsd43 world. > > Thanks in advance, (No email, please; sorry for inconvenience) > -- > | 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 Did you set the process ID or process group ID that you want the SIGIO delivered to? e.g fcntl(fd, F_SETOWN, getpid()); If this has been done, then try using the ioctl instead :- int onoff = 1; ioctl(fd, FIOASYNC, (char *)&onoff);