home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!mcsun!julienas!newsserver!geant!courtel
- From: courtel@cenatls.cena.dgac.fr (Nicolas Courtel)
- Subject: Help: asynchronous I/O on HP9000-700 / HPUX 8.07
- Message-ID: <1992Dec16.162834.20132@cenatls.cena.dgac.fr>
- Lines: 19
- Sender: news@cenatls.cena.dgac.fr
- Organization: Centre d'Etudes de la Navigation Aerienne, Toulouse, France
- Date: Wed, 16 Dec 1992 16:28:34 GMT
-
- I need to use asynchronous I/O (have SIGIO sent when descriptor ready) for
- sockets and pipes. After looking through the man, I have found two ways of doing
- it, using ioctl(2):
-
- 1. SIOCSPGRP and FIOASYNC work for sockets, but not for pipes (errno is set to
- ENOTTY). This is not a surprise, as the doc says it is specific to sockets.
-
- 2. FIOSSAIOOWN and FIOSSAIOSTAT work neither for sockets (errno = EOPNOTSUPP),
- nor for pipes (errno = ENOTTY again).
-
- Is there another way of doing it, that would work for pipes?
-
- Thanks by advance for all answers
-
- --
- Nicolas Courtel - courtel@dgac.fr
-
- >>> The goal of science is to build better mousetraps. <<<
- >>> The goal of nature is to build better mice. <<<
-