[Info-vax] Help wanted : Porting code from Linux to VMS

Dave Froble davef at tsoft-inc.com
Wed Jan 23 11:34:51 EST 2019


On 1/23/2019 9:16 AM, Craig A. Berry wrote:
>
> I will join the chorus of those saying to leave it in C.  But if you
> must, Neil Reick has examples of doing TCP/IP with $QIO calls in BASIC,
> which might be easier to read for someone who knows no C:
>
> <http://neilrieck.net/demo_vms_html/openvms_demo_index.html#ipstack>
>
> He's made of tougher stuff than I am -- when I had to do TCP/IP from
> BASIC I just wrote wrapper routines in C that presented dynamic string
> descriptors to BASIC.  If only there were an RTL that already did that.

Actually, doing the whole thing in Basic using the QIO interface taught 
me much more than if I just used the CRTL stuff.  I'm a firm believer in 
understanding what one is trying to do.  The first programs weer 
strictly a learning project.  An "echo server" and a client.  After that 
implementing for production was rather easy.

-- 
David Froble                       Tel: 724-529-0450
Dave Froble Enterprises, Inc.      E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA  15486



More information about the Info-vax mailing list