* DEC OSF/1 X.25
@ 1995-03-14 22:29 Andrew Gabriel
1995-03-17 5:18 ` Peter Hunt
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Gabriel @ 1995-03-14 22:29 UTC (permalink / raw)
Cc: Andrew.Gabriel
I am porting an application to a DEC Alpha (OSF/1 2.0)
which uses X.25 (1.0A). When I make a call, I appear to
have to specify something called "DTE class", along with
the called (remote) DTE address. In my case, the DTE
class is "PSS". I presume this has some association with
my link which was configured as a PSS type link, but I
would like to understand better exactly what it is for.
If I had more than one link (which I don't, but target
system might), would they each have a different DTE
class? When I translate a remote hostname into an X.25
address (part of my application), should I also allow for
one (or more) DTE classes to be returned with the remote
DTE address for passing to the X.25 driver?
My application will be making and receiving many calls
simultaneously from within a single process. Thus I need
to use the driver in non-blocking mode always. I have
found a number of problems in the API with non-blocking
interfaces. So far, I have managed to circumvent them by
using undocumented techniques (yuk :-( ), but I am far
from finished yet, and I suspect I may well come up
against a show-stopper. Has anyone else made any
extensive use of non-blocking interfacing to the DEC
OSF/1 X.25 API?
Thanks in advance for any help/comments/advice.
--
Andrew Gabriel Home: Andrew@cucumber.demon.co.uk
Consultant Software Engineer Work: Andrew.Gabriel@net-tel.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DEC OSF/1 X.25
1995-03-14 22:29 DEC OSF/1 X.25 Andrew Gabriel
@ 1995-03-17 5:18 ` Peter Hunt
0 siblings, 0 replies; 2+ messages in thread
From: Peter Hunt @ 1995-03-17 5:18 UTC (permalink / raw)
In article <795220147snz@cucumber.demon.co.uk>, Andrew@cucumber.demon.co.uk (Andrew Gabriel) writes:
|>I am porting an application to a DEC Alpha (OSF/1 2.0)
|>which uses X.25 (1.0A). When I make a call, I appear to
|>have to specify something called "DTE class", along with
|>the called (remote) DTE address.
A DTE Class is a set of DTEs which are (typically) connected
to the same network.
For example, the DSYT1 TurboChannel sync device has two
synchronous ports. To use both ports, you might get two
X.25 lines to the same network, and have two DTEs configured.
A DTE Class containing both DTEs would obviate the need for
an application to select a specific DTE to get to that network.
The application just specifies the DTE Class.
If you've configured X.25 using x25setup, there will be
a DTE Class for each DTE, and any DTE Classes you've
specified as Inbound DTE Classes for your DTEs.
To see what DTE Classes you have, and which DTEs belong to them,
issue the ncl command:
ncl> show x25 access dte class * all char
|>If I had more than one link (which I don't, but target
|>system might), would they each have a different DTE
|>class?
Only if the two links went to different networks, or you want the
application to be able to select a particular link.
|>When I translate a remote hostname into an X.25
|>address (part of my application), should I also allow for
|>one (or more) DTE classes to be returned with the remote
|>DTE address for passing to the X.25 driver?
Yes, although you really only want one DTE Class to be returned.
Alternatively, if you have only one DTE Class, you can specify
the DTE Class in the Template your application uses to make
outgoing calls.
|>My application will be making and receiving many calls
|>simultaneously from within a single process. Thus I need
|>to use the driver in non-blocking mode always. I have
|>found a number of problems in the API with non-blocking
|>interfaces. So far, I have managed to circumvent them by
|>using undocumented techniques (yuk :-( ), but I am far
|>from finished yet, and I suspect I may well come up
|>against a show-stopper. Has anyone else made any
|>extensive use of non-blocking interfacing to the DEC
|>OSF/1 X.25 API?
Can you be a bit more specific about what you're doing?
Basically, the use of signals with the X.25 API isn't supported.
However, you can use pthreads to achieve the same result; create
a new thread to perform the I/O synchronously. There are examples
of this in the XXAEXAMPLES101 subset.
--
Peter Hunt (hunt@ozy.dec.com) | On the Internet,
Networks Engineering (Aust) | nobody knows you're nude.
Digital Equipment Corporation |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-03-17 5:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-14 22:29 DEC OSF/1 X.25 Andrew Gabriel
1995-03-17 5:18 ` Peter Hunt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox