Operating System - OpenVMS
1827822 Members
1982 Online
109969 Solutions
New Discussion

Converting an x25 access app to TCPIP

 
Douglas Fisher
Advisor

Converting an x25 access app to TCPIP

We have an application that needs to be converted to use tcpip. As with x25 the incomming connection needs to create the job, invoke the app and the app must be able to continue detached after the connection is dropped. Then end after finishing processing.

I've looked through the doc's and havn't found much.
Can anyone out there help?
11 REPLIES 11
Jan van den Ende
Honored Contributor

Re: Converting an x25 access app to TCPIP

Douglas,

the (rather) easy way is to switch to DECnet-overIP. Essentially you reconfigure DECnet to use IP as carrier instead of X25.
Trying to replace --DECNET-- with various IP utilities is essentially a re-write of the networking functionalities of all your apps.

-- maybe a crude first approximation, but is IS threat devider between two possible ways to go.

hth

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Jan van den Ende
Honored Contributor

Re: Converting an x25 access app to TCPIP

WHAT AN UGLY TYPO!!


but is IS threat devider


dhould have been
but is IS the great devider

sorry..


Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Volker Halle
Honored Contributor

Re: Converting an x25 access app to TCPIP

Douglas,

as long as the app does not try to read/write on the TCPIP socket after the client has disconnected or treats the disconnect as a fatal error, there should be not much of a problem to rewrite your X.25 application to use e.g. TCPIP sockets.

There is even an example in TCPIP$EXAMPLES:

TCPIP$TCP_SERVER_SOCK_AUXS.C

Volker.
Jan van den Ende
Honored Contributor

Re: Converting an x25 access app to TCPIP

Volker,

that is one of the main reasons I would prefer tp continue using DECnet:
DECnet has all kinds of error handling in it automagically.
Those handlings are also possible in TCPIP, but YOU HAVE TO CODE THEM EXPLICITLY IN YOUR CODE.
We found out the hard way. some 5 years ago. It was decided (against the advice of several techies including myself) to abondon DECnet altogether and _NOT_ allow DECnet-over-IP (can you imagine: for security reasons!).
Well, the rock-solid connections we were used to had quite gone. Over time the most apps now have error hanfling added, but the cost has been tremendius, and we are still (after 5 years!) not really at the level we used to be.

But, given that politics is more important than money, or user satisfaction, the project WAS declared an enormous succes. (the organisation now save 5 % of the changeover cost annually!)

Just our experience, YMMV !!

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Volker Halle
Honored Contributor

Re: Converting an x25 access app to TCPIP

Jan,

if this is a native X.25 access application, DECnet may not even be involved, so I don't see, how DECnet-over-IP could be used to replace the X.25 connection.

If it would be DLM (Data Link Mapping = DECnet over X.25), then replacing this with DECnet-over-IP might even be transparent to the application.

Let's see what Douglas has to say...

Volker.
Jan van den Ende
Honored Contributor

Re: Converting an x25 access app to TCPIP

Yes, Ok.

My experience is limited to DECnet-over-IP, so, if for Douglas that is not the case, my answers so far do not apply, and I have no opinion either way.

Proost.

Have one on me.

jpe

Don't rust yours pelled jacker to fine doll missed aches.
john Dite
Frequent Advisor

Re: Converting an x25 access app to TCPIP

I can't comment on your application, but there is an alternative, and that is to use an X.25 to TCP Gateway.

See
http://www.funkwerk-ec.com/scripts/info_cd/en/solutions/50-ss_tcp_to_x25_gw_1-en.pdf

However I don't know how well represented the company is in the US.

They built in this feature as a special request from a large Telco provider here in Germany, so it must work.

I've used these Router/Gateways in the past to replace old Digital DECNIS routers by using XOT instead of GAP. In the past their solutions were also popular because it enabled X.25 customers to use X.25 over ISDN without changing the backend configuration bar the calling #.

Hope this helps.

John
Douglas Fisher
Advisor

Re: Converting an x25 access app to TCPIP

Thanks to everyone who has replied.
The app is native x25.
john Dite
Frequent Advisor

Re: Converting an x25 access app to TCPIP

If you're interested I could get you some english documentation. Let me know.

John
Richard J Maher
Trusted Contributor

Re: Converting an x25 access app to TCPIP

Hi Douglas,

You didn't stipulate whether or not your server needed to handle multiple simultaneous requests; this would make a difference. But if you're happy with INETd here's a $QIO example in a language that's easy to understand.

Regards Richard Maher
Douglas Fisher
Advisor

Re: Converting an x25 access app to TCPIP

Found a work around using llc2 as a transport. This is a very old app that had some quirks we had to discover before we could get it to answere.

Thanks to everyone for the help, even though I didn't use the info this time I will certainly be using it soon.