/PHP-7.0/ext/sockets/tests/ |
H A D | socket_set_option_seolinger.phpt | 2 Test if socket_set_option() works, option:SO_SEOLINGER 21 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, array()); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options); 30 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options_2)); 41 Warning: socket_set_option(): no key "l_onoff" passed in optval in %s on line %d 43 Warning: socket_set_option(): no key "l_linger" passed in optval in %s on line %d
|
H A D | mcast_ipv4_send_error.phpt | 8 if (socket_set_option($s, $level, IP_MULTICAST_IF, 1) === false) { 19 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 256); 27 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, false); 35 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 256); 42 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, "254"); 50 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, -1); 67 Warning: socket_set_option(): Expected a value between 0 and 255 in %s on line %d 77 Warning: socket_set_option(): Expected a value between 0 and 255 in %s on line %d
|
H A D | mcast_ipv4_send.phpt | 9 if (socket_set_option($s, IPPROTO_IP, IP_MULTICAST_IF, 1) === false) { 19 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9); 26 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0); 30 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1); 38 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0); 43 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1);
|
H A D | mcast_ipv6_send.phpt | 13 if (socket_set_option($s, $level, IPV6_MULTICAST_IF, 1) === false) { 23 $r = socket_set_option($s, $level, IPV6_MULTICAST_HOPS, 9); 30 $r = socket_set_option($s, $level, IPV6_MULTICAST_LOOP, 0); 34 $r = socket_set_option($s, $level, IPV6_MULTICAST_LOOP, 1); 42 $r = socket_set_option($s, $level, IPV6_MULTICAST_IF, 0); 47 $r = socket_set_option($s, $level, IPV6_MULTICAST_IF, 1);
|
H A D | socket_set_option_rcvtimeo.phpt | 2 Test if socket_set_option() works, option:SO_RCVTIMEO 21 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_RCVTIMEO, array()); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_RCVTIMEO, $options); 34 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
|
H A D | socket_set_option_sndtimeo.phpt | 2 Test if socket_set_option() works, option:SO_SNDTIMEO 21 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_SNDTIMEO, array()); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_SNDTIMEO, $options); 34 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
|
H A D | socket_set_option_bindtodevice.phpt | 2 Test if socket_set_option() works, option:SO_BINDTODEVICE 26 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_BINDTODEVICE, "lo"); 28 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_BINDTODEVICE, "ethIDONOTEXIST"); 37 Warning: socket_set_option(): unable to set socket option [19]: No such device in %s on line %d
|
H A D | socket_getopt.phpt | 18 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9); 25 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0); 29 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1); 37 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0); 42 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1);
|
H A D | socket_set_option_in6_pktinfo.phpt | 2 socket_set_option() with IPV6_PKTINFO 24 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [])); 25 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [ 36 Warning: socket_set_option(): error converting user data (path: in6_pktinfo): The key 'addr' is req…
|
H A D | mcast_ipv6_recv.phpt | 19 $so = socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 34 $so = socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 66 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 90 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 102 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 112 $so = socket_set_option($s, $level, MCAST_BLOCK_SOURCE, array( 125 $so = socket_set_option($s, $level, MCAST_UNBLOCK_SOURCE, array( 136 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 148 $so = socket_set_option($s, $level, MCAST_JOIN_SOURCE_GROUP, array( 159 $so = socket_set_option($s, $level, MCAST_LEAVE_SOURCE_GROUP, array( [all …]
|
H A D | mcast_ipv4_recv.phpt | 10 $so = socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array( 44 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 61 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 73 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 85 $so = socket_set_option($s, $level, MCAST_BLOCK_SOURCE, array( 98 $so = socket_set_option($s, $level, MCAST_UNBLOCK_SOURCE, array( 109 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 121 $so = socket_set_option($s, $level, MCAST_JOIN_SOURCE_GROUP, array( 132 $so = socket_set_option($s, $level, MCAST_LEAVE_SOURCE_GROUP, array( 145 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array(
|
H A D | socket_set_option_error_socket_option.phpt | 2 Test if socket_set_option() returns 'unable to set socket option' failure for invalid options 26 socket_set_option( $socket, SOL_SOCKET, 1, 1); 33 Warning: socket_set_option(): unable to set socket option [%d]: Permission denied in %s on line %d
|
H A D | mcast_ipv6_recv_limited.phpt | 16 $so = socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 27 $so = socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 32 $so = socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array( 61 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 85 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 97 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array(
|
H A D | socket_export_stream-3.phpt | 12 $so = socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array( 25 $so = socket_set_option($sock, IPPROTO_IP, MCAST_JOIN_GROUP, array(
|
H A D | socket_import_stream-3.phpt | 12 $so = socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array( 24 $so = socket_set_option($sock, IPPROTO_IP, MCAST_JOIN_GROUP, array(
|
H A D | bug49341.phpt | 2 Bug #49341: add SO_REUSEPORT support for socket_set_option()
|
H A D | bug63000.phpt | 16 $so = socket_set_option($socket, IPPROTO_IP, MCAST_JOIN_GROUP, array(
|
H A D | socket_sendrecvmsg_multi_msg.phpt | 40 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 41 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVTCLASS, 1) or die("err");
|
H A D | socket_sendrecvmsg_multi_msg-win32.phpt | 34 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 35 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVTCLASS, 1) or die("err");
|
H A D | socket_recvmsg.phpt | 36 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err");
|
H A D | socket_cmsg_credentials.phpt | 37 socket_set_option($s, SOL_SOCKET, SO_PASSCRED, 1) or die("could not set SO_PASSCRED");
|
/PHP-7.0/ext/standard/tests/mail/ |
H A D | mail_skipif.inc | 9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
|
/PHP-7.0/ext/sockets/ |
H A D | sockets.c | 305 PHP_FUNCTION(socket_set_option); 340 PHP_FE(socket_set_option, arginfo_socket_set_option) 354 PHP_FALIAS(socket_setopt, socket_set_option, arginfo_socket_set_option) 1991 PHP_FUNCTION(socket_set_option) argument
|