Home
last modified time | relevance | path

Searched refs:l_linger (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/sockets/tests/
H A Dsocket_set_option_seolinger.phpt6 -l_linger not given
24 $options = array("l_onoff" => 1, "l_linger" => 1);
28 //l_linger not given
37 var_dump($retval_3["l_linger"] === $options["l_linger"]);
45 socket_set_option(): Argument #4 ($value) must have key "l_linger"
H A Dsocket_set_option_timeo_error.phpt13 $options_3 = array("l_onoff" => "aaaa", "l_linger" => "1");
14 $options_4 = array("l_onoff" => "1", "l_linger" => []);
15 $options_5 = array("l_onoff" => PHP_INT_MAX, "l_linger" => "1");
/php-src/ext/sockets/
H A Dsockets.c1749 add_assoc_long(return_value, "l_linger", linger_val.l_linger);
1882 zval *l_onoff, *l_linger; local
1986 if ((l_linger = zend_hash_str_find(opt_ht, l_linger_key, sizeof(l_linger_key) - 1)) == NULL) {
1992 zend_long val_linger = zval_get_long(l_linger);
2000 zend_argument_value_error(4, "\"%s\" must be between 0 and %d", l_linger, USHRT_MAX);
2005 lv.l_linger = (unsigned short)val_linger;

Completed in 18 milliseconds