/php-src/ext/sockets/tests/ |
H A D | socket_set_option_seolinger.phpt | 2 Test if socket_set_option() works, option:SO_SEOLINGER 18 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, []); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options); 31 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options_2)); 44 socket_set_option(): Argument #4 ($value) must have key "l_onoff" 45 socket_set_option(): Argument #4 ($value) must have key "l_linger"
|
H A D | socket_reuseport_cbpf.phpt | 2 Test if socket_set_option() works, option:SO_ATTACH_REUSEPORT_CBPF 19 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_REUSEADDR, true)); 20 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_REUSEPORT, true)); 21 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_ATTACH_REUSEPORT_CBPF, SKF_AD_CPU));
|
H A D | mcast_ipv4_send.phpt | 9 if (socket_set_option($s, IPPROTO_IP, IP_MULTICAST_IF, 1) === false) { 20 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9); 27 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0); 31 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1); 39 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0); 44 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1);
|
H A D | socket_set_option_rcvtimeo.phpt | 2 Test if socket_set_option() works, option:SO_RCVTIMEO 18 $retval_1 = socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, []); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_RCVTIMEO, $options); 33 socket_set_option(): Argument #4 ($value) must have key "sec"
|
H A D | socket_set_option_sndtimeo.phpt | 2 Test if socket_set_option() works, option:SO_SNDTIMEO 18 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_SNDTIMEO, []); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_SNDTIMEO, $options); 33 socket_set_option(): Argument #4 ($value) must have key "sec"
|
H A D | mcast_ipv4_send_error.phpt | 14 if (socket_set_option($s, $level, IP_MULTICAST_IF, 1) === false) { 26 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 256); 34 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, false); 43 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 256); 53 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, "254"); 62 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, -1); 81 socket_set_option(): Argument #4 ($value) must be between 0 and 255 89 socket_set_option(): Argument #4 ($value) must be between 0 and 255
|
H A D | socket_set_option_acf.phpt | 2 Test if socket_set_option() works, option: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")); 33 Warning: socket_set_option(): Invalid filter argument type in %s on line %d
|
H A D | socket_set_option_tsf.phpt | 2 Test if socket_set_option() works, option:TCP_FUNCTION_BLK 19 socket_set_option( $socket, SOL_TCP, TCP_FUNCTION_BLK, "nochancetoexist"); 21 var_dump(socket_set_option( $socket, SOL_TCP, TCP_FUNCTION_BLK, "freebsd")); 26 Warning: socket_set_option(): Unable to set socket option [2]: No such file or directory in %s on l…
|
H A D | mcast_ipv6_send.phpt | 16 if (socket_set_option($s, $level, IPV6_MULTICAST_IF, 1) === false) { 27 $r = socket_set_option($s, $level, IPV6_MULTICAST_HOPS, 9); 34 $r = socket_set_option($s, $level, IPV6_MULTICAST_LOOP, 0); 38 $r = socket_set_option($s, $level, IPV6_MULTICAST_LOOP, 1); 46 $r = socket_set_option($s, $level, IPV6_MULTICAST_IF, 0); 51 $r = socket_set_option($s, $level, IPV6_MULTICAST_IF, 1);
|
H A D | socket_getopt.phpt | 14 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9); 21 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0); 25 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1); 33 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0); 38 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1);
|
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"); 36 Warning: socket_set_option(): Unable to set socket option [19]: No such device in %s on line %d
|
H A D | socket_set_option_in6_pktinfo.phpt | 2 socket_set_option() with IPV6_PKTINFO 25 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [])); 26 var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [ 37 Warning: socket_set_option(): error converting user data (path: in6_pktinfo): The key 'addr' is req…
|
H A D | mcast_ipv4_recv.phpt | 11 $so = @socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array( 47 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 64 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 76 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 88 $so = socket_set_option($s, $level, MCAST_BLOCK_SOURCE, array( 101 $so = socket_set_option($s, $level, MCAST_UNBLOCK_SOURCE, array( 112 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 124 $so = socket_set_option($s, $level, MCAST_JOIN_SOURCE_GROUP, array( 135 $so = socket_set_option($s, $level, MCAST_LEAVE_SOURCE_GROUP, array( 148 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array(
|
H A D | mcast_ipv6_recv.phpt | 22 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 37 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 41 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array( 70 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 94 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 106 $so = socket_set_option($s, $level, MCAST_JOIN_GROUP, array( 116 $so = socket_set_option($s, $level, MCAST_BLOCK_SOURCE, array( 129 $so = socket_set_option($s, $level, MCAST_UNBLOCK_SOURCE, array( 140 $so = socket_set_option($s, $level, MCAST_LEAVE_GROUP, array( 152 $so = socket_set_option($s, $level, MCAST_JOIN_SOURCE_GROUP, array( [all …]
|
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 27 socket_set_option( $socket, SOL_SOCKET, 1, 1); 31 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 | 21 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array( 32 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array( 37 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_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(
|
H A D | socket_clear_error.phpt | 17 socket_set_option($socket, -1, -1, -1); 23 Warning: socket_set_option(): Unable to set socket option [%s]: %s in %s on line %d
|
H A D | socket_defer_acp.phpt | 2 Test if socket_set_option() works, option:TCP_DEFER_ACCEPT 21 var_dump(socket_set_option( $socket, SOL_TCP, TCP_DEFER_ACCEPT, $initial_val));
|
H A D | socket_export_stream-3.phpt | 10 $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( 25 $so = socket_set_option($sock, IPPROTO_IP, MCAST_JOIN_GROUP, array(
|
H A D | bug63000.phpt | 10 $so = socket_set_option($socket, 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 | socket_dontfragment_bsd.phpt | 15 $ret = socket_set_option($socket, IPPROTO_IP, IP_DONTFRAG, 1);
|
H A D | socket_dontfragment.phpt | 15 $ret = socket_set_option($socket, IPPROTO_IP, IP_MTU_DISCOVER, IP_PMTUDISC_DO);
|
H A D | socket_sendrecvmsg_multi_msg-unix.phpt | 39 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVPKTINFO, 1) or die("err"); 40 socket_set_option($s, IPPROTO_IPV6, IPV6_RECVTCLASS, 1) or die("err");
|