Difference between revisions of "$sockerr"

From Scriptwiki
Jump to: navigation, search
m (added page)
 
m (added category)
 
Line 4: Line 4:
  
 
$sockerr returning 3 = "Connection refused by remote host" <br />
 
$sockerr returning 3 = "Connection refused by remote host" <br />
$sockerr returning 4 = "DNS lookup for hostname failed"
+
$sockerr returning 4 = "DNS lookup for hostname failed"  
 +
 
 +
[[Category:Socket]]

Latest revision as of 10:18, 11 October 2006

$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"