socket.errorcode = -1 ?

I got a situation where i got a http socket error and the code was -1
Haven’t seen that in the docs

Any ideas ?

never mind… posted too fast…

https://documentation.xojo.com/index.php/HTTPSocket.ErrorCode

If Get/Post/GetHeaders/SendRequest times out, then ErrorCode = -1