$sockerr

From Scriptwiki
Revision as of 10:17, 11 October 2006 by Cail (talk | contribs) (added page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$sockerr

$sockerr is set to a value after each socket command/event and must be checked after each socket command and before processing an event to see if an error occurred.

$sockerr returning 3 = "Connection refused by remote host"
$sockerr returning 4 = "DNS lookup for hostname failed"