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 
<[email protected]> wrote:

Sorry,

It was mine...

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

Ralph DiMola
IT Director
Evergreen Information Services
[email protected]<mailto:[email protected]>

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to