Re: PRO C on an HP using TCP/IP

From: Robert W. Carey,40-87.2 C13,2941031 <rwc9664_at_holopaw>
Date: 1996/10/08
Message-ID: <DyxKuD.4vn_at_bcstec.ca.boeing.com>#1/1


I have used PROBRIEN_at_NETCOM.COM writes:

> 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 Tue Oct 08 1996 - 00:00:00 CEST

Original text of this message