[comp.sys.apollo] Socket programming under SysV ?

s31786w@kaira.hut.fi (Matti Tapani Koivisto) (06/21/90)

Hi,

I'll have to do some "socket programming" or interprocess communication
over a TCP/IP LAN. There is no problem as long as I can use BSD system
calls, but the big boys have decided that we will write only SysV software
(no BSD system calls allowed).

So, is there any method to do socket programming under Apollo's SysV ?
For example, is there a some sort of a socket library I can include in
my software or can I use SysV Transport Interface (according to my
knowledge I should have streams based TCP/IP-stack if I want to use
Transport Interface (am I wrong or am I wrong, and is there such a stack
for Apollo ?)).

I'm running SR10.2 on one Domain Series 3500 and on four 2500s and we
use SysV environment.


***********************************************************************

	Matti Koivisto, 	s31786w@kaira.hut.fi

***********************************************************************

rees@dabo.ifs.umich.edu (Jim Rees) (07/09/90)

In article <1990Jun21.061232.2256@santra.uucp>, s31786w@kaira.hut.fi
(Matti Tapani Koivisto) writes:
    I'll have to do some "socket programming" or interprocess communication
    over a TCP/IP LAN. There is no problem as long as I can use BSD system
    calls, but the big boys have decided that we will write only SysV software
    (no BSD system calls allowed).

I've had the extreme displeasure of trying to use several "real" sysV
machines, and like Apollo, they all use sockets, not TLI, to access TCP/IP.

Apollo comes with streams, but no protocol stacks.  You are of course free
to write your own TCP/IP stack, or buy someone else's in source form and try
to port it.  The port would be tough because the commercial TCP/IP stacks
usually have kernel dependencies beyond streams.

You can tell the "big boys" that it will cost them US $400,000 to develop or
import a streams TCP/IP stack and figure out how to use TLI, or you can use
those nasty BSD socket calls for free (cost estimates are my own and do not
necessarily reflect reality).

By the way, the socket calls all work fine in the Apollo sysV universe.
You'll have to import the include files, of course.