Socket questions

Mark Wieder ahsoftware at sonic.net
Sun Aug 19 00:41:36 EDT 2018


On 08/18/2018 01:38 PM, Douglas Ruisaard via use-livecode wrote:

> However, if I substitute "www.googleXXX.com:80" as the socket ID (or distort *my* ESP8266 ID to a non-existent one), I would have expected some sort of error message... trapped by the "socketError" handler ... but I get nothing.

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.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list