From: hunt@flotsm.ozy.dec.com (Peter Hunt)
Subject: Re: DEC OSF/1 X.25
Date: 17 Mar 1995 05:18:20 GMT [thread overview]
Message-ID: <3kb62s$cpm@nntpd.lkg.dec.com> (raw)
In-Reply-To: 795220147snz@cucumber.demon.co.uk
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 |
prev parent reply other threads:[~1995-03-17 5:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-14 22:29 DEC OSF/1 X.25 Andrew Gabriel
1995-03-17 5:18 ` Peter Hunt [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox