[Info-vax] Help wanted : Porting code from Linux to VMS
Steven Schweda
sms.antinode at gmail.com
Tue Jan 22 17:21:41 EST 2019
> 1) it contains several system calls which I'll need to find
> an adequate equivalent for. [...]
Such as?
> 2) I will port the code from C to Pascal, [...]
That sounds to me like a serious mistake.
> 3) The code contains a good dose of TCP/IP programming.
> [...]
The C/TCPIP RTL on VMS can do most things of that sort.
> 1) Is there any documentation about that ? How to write, on
> OpenVMS, code to establish a TCP/IP communication with
> another host ? [...]
Why not use the existing C code?
> 2) Any coding examples availabe somewhere, [...]
SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP]
I wouldn't put forward as a model any of the stuff which
I've done, but there must be a boatload of freeware out there
which does IP stuff on VMS.
> 3) Are the TCP/IP calls definitions that I'll need to use
> available in pascal environment files somewhere ? [...]
There's a QIO interface for this stuff, so you could, in
principle, do it from any language, but why you'd want to go
through that ordeal to mutilate a perfectly good C program is
a mystery to me.
SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP]*QIO*
More information about the Info-vax
mailing list