PRO C on an HP using TCP/IP

From: <PROBRIEN_at_NETCOM.COM>
Date: 1996/10/03
Message-ID: <52vc7m$bq0_at_sjx-ixn6.ix.netcom.com>#1/1


I've inherited a C application that was running fine on an HP9000 running HP UX A.09.04 with Oracle verion 7.016 using PRO C version 1.5. The program communicates with our mainframe using TCP/IP.  

We recently upgraded the box to Oracle version 7.16 and PRO C version 1.6 and the app failed. It will run from 30 to 45 minutes before it fails. The following is a snippet of code where the error occurs:

        create_socket(&SocketNumber) // This works every time         

        bind_socket(SocketNumber,&SocketAddress) // This never fails         

        listen(SocketNumber,100) // Works also

        recv_socket(SocketNumber,message,SLEEP,0) // This works for a while
// then returns a -1 (Receive error).
// After this error I have to stop then restart the application.

I've contacted Oracle and HP but so far I've been unable to resolve the problem. I've also compiled the program using version 2 of PRO C and the problem occurred in less than 5 minutes. I would appreciate any help as we were ready to go into production when this happened. HELP!!! Received on Thu Oct 03 1996 - 00:00:00 CEST

Original text of this message