note 32132 added to function.socket-bind

From: Date: Sun, 18 May 2003 16:11:28 +0000
Subject: note 32132 added to function.socket-bind
Groups: php.notes 
Request: Send a blank email to php-notes+get-48526@lists.php.net to get a copy of this message
to add to that note, you can also use 0.0.0.0 ie: if (!socket_bind($socket, "0.0.0.0", PORT)) { socket_close($socket); die("Sock_Error: Socket was unable to bind.\n"); } where port is defined above, define('PORT', 6667); -- Manual Page -- http://www.php.net/manual/en/function.socket-bind.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32132 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32132&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32132&report=yes

« previous php.notes (#48526) next »