HP3000-L Archives

January 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Wed, 20 Jan 1999 10:27:11 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
James writes:
> Instead of monkeying around trying to get COBOL to use BSD sockets, unless
> you have a version of COBOL which has pointers and memory allocation
> routines, I would just write the key functions needed a C routines callable
> from COBOL.

That works fine, and lots of people are doing it that way, however...

> > Can you write a Cobol program that uses BSD sockets??  I know, and have
> > used, NetIPC.  I'm an avid Cobol programmer at heart.  If I can use
> > sockets, that would be great!!

NetIPC and sockets are interfaces to the same thing (TCP), so you ought
to be able to do what you want *with* NetIPC.  Just because the thing on
the other end of the connection is using the sockets API to talk to TCP
doesn't mean that you have to do the same thing on your end.

There are a few functionality differences between NetIPC and sockets,
but generally I've found NetIPC to be more feature-rich and more "3000
like".

G.

ATOM RSS1 RSS2