[Info-vax] message communication (VMS <> PC)

Bob Koehler koehler at eisner.nospam.encompasserve.org
Fri Jan 22 08:49:07 EST 2010


In article <4b57add4$0$275$14726298 at news.sunsite.dk>, =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne at vajhoej.dk> writes:
> 
> You can try and call the standard socket functions
> directly from Fortran.

   We actually did that on a system where the programmer couldn't figure
   out the $QIO documentation for UCX.  I showed him how to translate
   the C header file info into VAX Fortran structures (ANSI Fortran
   didn't yet have structures back then), and pass arguements by value
   and such.  We did have to code some calls to socket routine X as
   DECC$X.

   We found a memory leak in the C RTL socket routines and got DEC to
   fix it, even though our sample code was Fortran.  Cross-language
   calling is, of course, a documented and supported feature of VMS'
   native compilers.




More information about the Info-vax mailing list