Operating System - NonStop OS
1752745 Members
4624 Online
108789 Solutions
New Discussion

Re: Cobol - start a TCP connection

 
kilarsen
Occasional Contributor

Cobol - start a TCP connection

Hi,

 

I am trying to find out how I can create a TCP connect from within cobol.

 

The thing is that I have already got a program which is set up with a listener process, waiting for someone intiating a connection. In that program the accept for the connection is made with 'enter c "accept_conn" of clib'.

 

So what I am looking for the program to be the active one to initiate the connection, but I have not been able to find the correct command to be used for the 'enter c.......'

 

Is there anyone who can guide me in the right direction of manuals og sample code for doing this and/or the possibilities of using 'enter c.......' i cobol on a HP nonstop machine

 

Best regards

Kim

 

 

P.S. This thread has been moved from NonStop Servers to NonStop OS. -HP Forum Moderator

1 REPLY 1
kilarsen
Occasional Contributor

Re: Cobol - start a TCP connection

Problem solved :-)

 

We thought it was some standard c code coming with the nonstop machine - but is was something made by a collegue long time ago and he is not working here anymore.