I need to check a website for error, I do not need to display it.
I tried creating a TCPSocket for checking it:
While Not TCPSocket1.IsConnected
//check to see if the socket got an error
If TCPSocket1.LastErrorCode <> 0 then
return "Socket error: "+str(TCPSocket1.LastErrorCode)
//poll the socket to let it do its thing
But when the site is showing error 503, for example, it still does not return any error code.
Any ideas ?? Thanks