× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Connect() will fail without signals as well... but it will take longer.

Give it a try without the signals/alarm stuff... using this in combination with Apache might be an issue.

________________________________________
From: rpg400-l-bounces@xxxxxxxxxxxx [rpg400-l-bounces@xxxxxxxxxxxx] on behalf of Pete Helgren [pete@xxxxxxxxxx]
Sent: Thursday, June 23, 2011 21:01
To: RPG programming on the IBM i / System i
Subject: Re: Differing results calling same program from different environments

The irony is that the code (signals/alarm) is there so that the sockets
connection CAN fail gracefully. Originally, I didn't have it and if the
host/port was offline then the program would hang. The signals/alarm
stuff solved that issue for me.

But, that gives me an idea...maybe the signals/alarm routine isn't being
executed for some reason in the CGIDEV2 environment..I'll see if I can
run debug on the CHK_PORT program call....

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.