Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* X.25 for Digital UNIX
@ 1998-04-15  4:00 Steven Cox
  1998-04-15  4:00 ` Paul Black
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Cox @ 1998-04-15  4:00 UTC (permalink / raw)



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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-04-16  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-15  4:00 X.25 for Digital UNIX Steven Cox
1998-04-15  4:00 ` Paul Black
1998-04-16  4:00   ` Steven Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox