× 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.



I think you need to base the up/down decision on results. If you get a
response back (within whatever parameters), the connection is up...if not,
it's down. And when it's down, you set a flag that stops processing.

On Wed, Jan 20, 2010 at 10:57 AM, <GKern@xxxxxxxxxxxxxxxx> wrote:

Not sure if this is the correct place to ask so I cross posted in midrange
and rpg-l:

Yesterday our internet provider had an outage that affected their
customers within a large portion of the city. Consequently we were
affected too.

We have an RPG application that accepts credit card payments and then uses
Payware Transact from Verifhone to process the payment. But when the
internet connection died we didn't get any response from the transactions
that were in process when the internet connection died.

So the question becomes this: Is there a way (from RPG) to detect that the
internet connection is active before submitting the transaction? I know
that this wouldn't be foolproof because the internet connection could be
lost immediately after a successful 'detection attempt'. But this would at
least enable us to detect and notify users when the internet connection is
down, which would limit the number of transactions that would not receive
a response.

Thanks!

Regards, Jerry

Gerald Kern - MIS Project Leader
Lotus Notes/Domino Administrator
IBM Certified RPG IV Developer
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623-4299
Phone 419-479-5535
gkern@xxxxxxxxxxxxxxxx


This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please inform the
sender by reply e-mail and destroy this and all copies of this message.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.