note 106825 deleted from function.socket-last-error by danbrown

From: Date: Sun, 11 Dec 2011 19:11:42 +0000
Subject: note 106825 deleted from function.socket-last-error by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185031@lists.php.net to get a copy of this message
Note Submitter: net at janoszen dot hu ---- You should not use ca at php dot spamtrak dot org's solution, because these constants may vary across Unix distributions. In MacOS the EPROTOTYPE error has the value 41, not 91. Instead, you should use the SOCKET_* constants. (eg. SOCKET_EPROTOTYPE) The constants can be found here: http://php.net/manual/en/sockets.constants.php

« previous php.notes (#185031) next »