[Info-vax] Help wanted : Porting code from Linux to VMS
Barratt, Chris (Health)
Chris.Barratt at sa.gov.au
Tue Jan 22 18:00:51 EST 2019
Hi Marc,
In my previous job, we had a client/server setup where the servers accepted messages from TCPIP sockets, Decnet task-to-task and VMS mailboxes.
This was all written in Pascal and worked well (and still does).
> 3) The code contains a good dose of TCP/IP programming. And there I'm
>somewhat lost, because I never touched that in the past. So I'd
>appreciate a bit of help to get me started...
It's worth doing some general reading up on network programming here, irrespective of the language used.
We used "Stevens : UNIX Network Programming, Ch 6 Berkeley sockets" for this. (a long time ago).
If you have never used the VMS QIO system calls before, it is also worth reading up on those.
>1) Is there any documentation about that ? How to write, on OpenVMS,
>code to establish a TCP/IP communication with another host ? Like what
>you would do with DECnet non transparent task to task communication ?
"HP TCP/IP Services for OpenVMS, Sockets API and System Services Programming" is the manual you will need.
If you are using Multinet for TCPIP, there is a similar manual, if I remember correctly.
>2) Any coding examples availabe somewhere, or that someone would agree
>to share ? Preferably in Pascal, but I'll understand if only C is
>available...
No longer in a position to share. Sorry.
>3) Are the TCP/IP calls definitions that I'll need to use available
>in pascal environment files somewhere ? Or SDL definitions that I
>could translate and compile ?
TCPIP$INETDEF.PAS
Cheers,
Chris.
More information about the Info-vax
mailing list