Check connection and timeout

Bob Sneidar bobsneidar at
Fri Jul 14 11:47:10 EDT 2023

Thanks Ralph, very handy, but is there a way to get the timeout to see if the command to set the timeout worked? I change networks frequently, and if I do not disconnect and reconnect to my SQL database, I run the risk of using a stale connection, and then I face the dreaded 60 second stall before I can proceed.

Bob S

On Jul 14, 2023, at 8:36 AM, Ralph DiMola via use-livecode <use-livecode at> wrote:


It was mine...

function GetNetworkType
  local tLibUrlDriver
     put the behavior of stack"revLibUrl" into tLibUrlDriver
  end try
  if tLibUrlDriver is empty then
     return "libURL"
     return "tsNet"
  end if
end GetNetworkType

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at<mailto:rdimola at>

More information about the use-livecode mailing list