note 22459 deleted from function.socket-set-option by nlopess
| From: | nlopess@php.net | Date: | Sun, 20 Jan 2008 18:04:32 +0000 |
| Subject: | note 22459 deleted from function.socket-set-option by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135262@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Example:
I am not sure if the fourth argument (optval) is used in SO_REUSEADDR ... I don't think it
is... In that case, this is how you set your socket re-usable:
socket_set_option($socket,SOL_SOCKET,SO_REUSEADDR,1);