I'm sending SMS messages to a provider using CFHTTP. They have supplied me with two gateway addresses, so I've built in a bit of logic to send to another gateway if the first one is not reachable, which works fine.
I was thinking though would it possible to ping each server before performing the actual HTTP POST to determine which one responds the fastest and save the extra time would be incurred as CFHTTP timeouts one attempted POST. I know there is a timeout setting in CFHTTP, but thought it would be more efficient to determine which host is more responsive without having to timeout a connection...
Many thanks,
Rob
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

