Just about the time you posted this I had hacked on the original version of my RPG program that had been heavily borrowed from you and the non-blocking approach worked! But I did download, compile and test this new version you provided and it also works when called from Apache.

So there *must* be something in Apache that is disabling or changing the way that signals are used. This is great fix. Thanks for pointing me in the right direction and providing the code updates. AND I learned a little bit more about sockets.....

Pete Helgren
Value Added Software, Inc
www.petesworkshop.com
GIAC Secure Software Programmer-Java


On 1/25/2012 1:25 PM, Scott Klement wrote:
Hi Pete,

I just changed CHKSVRR4 myself, just a "quick-fix" to use non-blocking sockets instead of signals.

Can you try it and see if it resolves your issue? Let me know.

You can get the code here:
http://www.scottklement.com/chksvr/ChkSvr.zip


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.