[comp.protocols.tcp-ip] sockets

khoo@aplcen.apl.jhu.edu (Khoo soo) (03/08/91)

Hi there:
    This is my first posting to the net.  I am seeking a solution to 
a IPC problem using Berkeley sockets on a Unix machine running Ultrix
4.1 and connecting to a Prime computer with its own sockets library.
The protocol family used is SOCK_STREAM.

Description Below.

Premise:
    OS - Ultrix 4.1 on a DEC 5400
    I have developed sockets on this machine to communicate with a PRIME
computer.  It works but the real problem is the time for the client, which
is on the Prime to connect t othe server running on the Ultrix box is 
relatively long (20 - 30 secs).  I have been tinkering with the idea of
keeping the connection open at all times (so that I don't have to establish a
connection every single time I execute this remote command, but I don't know
how to implement a client server connection that is connected always.
It would be extermely difficult to do this on the Prime side. 

I would appreciate it if any of you out there could provide me with some
ideas/hints on how to accomplish this task.  (An example of such a program
would be marvelous).  Thanks.


  Mike Khoo.
  (3/07/91)