Home
last modified time | relevance | path

Searched refs:SO_ACCEPTFILTER (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/sockets/tests/
H A Dsocket_set_option_invalid_value_for_SOL_SOCKET_SO_ACCEPTFILTER.phpt2 socket_set_option($socket, SOL_SOCKET, SO_ACCEPTFILTER, INVALID_TYPE_FOR_OPTION)
11 if (!defined('SO_ACCEPTFILTER')) {
12 die('skip SO_ACCEPTFILTER not available.');
24 $ret = socket_set_option($socket, SOL_SOCKET, SO_ACCEPTFILTER, new stdClass());
30 $ret = socket_set_option($socket, SOL_SOCKET, SO_ACCEPTFILTER, "string\0with\0null\0bytes");
36 $ret = socket_set_option($socket, SOL_SOCKET, SO_ACCEPTFILTER, str_repeat("a", 2048));
45 …ent #4 ($value) must be of type string when argument #3 ($option) is SO_ACCEPTFILTER, stdClass giv…
46 …n(): Argument #4 ($value) must not contain null bytes when argument #3 ($option) is SO_ACCEPTFILTER
47 …on(): Argument #4 ($value) must be less than %d bytes when argument #3 ($option) is SO_ACCEPTFILTER
H A Dsocket_set_option_acf.phpt2 Test if socket_set_option() works, option:SO_ACCEPTFILTER
11 if (!defined("SO_ACCEPTFILTER")) {
12 die('SKIP on platforms not supporting SO_ACCEPTFILTER');
23 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_ACCEPTFILTER, 1));
28 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_ACCEPTFILTER, "httpready"));
29 var_dump(socket_get_option( $socket, SOL_SOCKET, SO_ACCEPTFILTER));
33 …rgument #4 ($value) must be of type string when argument #3 ($option) is SO_ACCEPTFILTER, int given
/php-src/ext/sockets/
H A Dsockets_arginfo.h432 #if defined(SO_ACCEPTFILTER) in register_sockets_symbols()
433 REGISTER_LONG_CONSTANT("SO_ACCEPTFILTER", SO_ACCEPTFILTER, CONST_PERSISTENT); in register_sockets_symbols()
H A Dsockets.stub.php351 const SO_ACCEPTFILTER = UNKNOWN; define
H A Dsockets.c1939 #ifdef SO_ACCEPTFILTER
1940 case SO_ACCEPTFILTER: {
2229 #ifdef SO_ACCEPTFILTER
2230 case SO_ACCEPTFILTER: {

Completed in 22 milliseconds