From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e83f555f2f79b001,start X-Google-Attributes: gid1164f8,public From: Steven Cox Subject: X.25 for Digital UNIX Date: 1998/04/15 Message-ID: <3534717D.C7582E76@vega.co.uk>#1/1 X-Deja-AN: 344234301 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: hamlet.vega.co.uk:194.217.20.10 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 892629534 nnrp-05:29956 NO-IDENT hamlet.vega.co.uk:194.217.20.10 Organization: VEGA Group Plc. MIME-Version: 1.0 Newsgroups: comp.sys.dec I don't know if anyone can help, but I am developing a peice of software using the X.25 for Digital UNIX library (version 3.0). I am required to send/receive data from the X.25 link created by my process to the parent process via a pipe, which is also used to receive commands from the parent process. The problem is, is that a blocking read of the X.25 port is required so that the port does not need to be continuously polled. The only way to receive commands from the parent process is by interupting this X25lib call. I have been told that I could use select for this (by setting it to interupt if data is present on the pipe or on the X.25 link). I this possible? Does the X.25 library use standard UNIX file descriptors? (I am pretty certain it does not - the file descriptor returned by the X25 library calls in my test program is 3 - I'd expect more UNIX files to be open - is this a dumbass way of telling?) I have also tried sending SIGUSR1 to the process, but this just interupts the X25 call with an undefined error (not X25RC_SYSERR with errno set to SIGUSR1 as I was informed). Can anyone help me????!!? Cheers, Steve Cox.