Socket questions

Mark Wieder ahsoftware at sonic.net
Mon Aug 20 12:55:57 EDT 2018


On 08/18/2018 09:41 PM, Mark Wieder via use-livecode wrote:

> That's a dns lookup failure, which won't get as far as a socketError 
> message. What you should get instead is a non-empty result message from 
> the openSocket command. I can't comment on tsNet, but libUrl has never 
> to my recollection actually done this correctly.

I misspoke here (sorry Dave)... it's not libUrl that's at fault here, 
but the socket routines in the engine. There's a function named 
MCModeCanAccessDomain, but it always returns false and afaict never 
really comes into play: it's invoked three times in exec-network.cpp, 
but only if network access is not allowed.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list