note 93995 added to function.socket-strerror

From: Date: Sat, 10 Oct 2009 19:13:00 +0000
Subject: note 93995 added to function.socket-strerror
Groups: php.notes 
Request: Send a blank email to php-notes+get-161622@lists.php.net to get a copy of this message
for($i=0, $s=""; $i<250; $s=socket_strerror($i), $i++) !empty($s) && ('Unknown error' != (substr($s,0,13)) ) && print "{$i} => '{$s}'\n"; /* ... 91 => 'Protocol wrong type for socket', 92 => 'Protocol not available', 93 => 'Protocol not supported', 94 => 'Socket type not supported', 95 => 'Operation not supported', 96 => 'Protocol family not supported', 97 => 'Address family not supported by protocol', 98 => 'Address already in use', 99 => 'Cannot assign requested address', 100 => 'Network is down', 101 => 'Network is unreachable', 102 => 'Network dropped connection on reset', 103 => 'Software caused connection abort', 104 => 'Connection reset by peer', 105 => 'No buffer space available', 106 => 'Transport endpoint is already connected', 107 => 'Transport endpoint is not connected', 108 => 'Cannot send after transport endpoint shutdown', 109 => 'Too many references: cannot splice', 110 => 'Connection timed out', 111 => 'Connection refused', 112 => 'Host is down' ... */ From: http://www.askapache.com/php/fsockopen-socket.html ---- Server IP: 64.71.164.2 Probable Submitter: 24.123.215.60 ---- Manual Page -- http://www.php.net/manual/en/function.socket-strerror.php Edit -- https://master.php.net/note/edit/93995 Del: integrated -- https://master.php.net/note/delete/93995/integrated Del: useless -- https://master.php.net/note/delete/93995/useless Del: bad code -- https://master.php.net/note/delete/93995/bad+code Del: spam -- https://master.php.net/note/delete/93995/spam Del: non-english -- https://master.php.net/note/delete/93995/non-english Del: in docs -- https://master.php.net/note/delete/93995/in+docs Del: other reasons-- https://master.php.net/note/delete/93995 Reject -- https://master.php.net/note/reject/93995 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161622) next »