Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
sockets /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
ai_idn_deprecation.phpt
692
B
-rw-rw-r--
2022-10-31 11:36
bug46360.phpt
280
B
-rw-rw-r--
2022-10-31 11:36
bug49341.phpt
341
B
-rw-rw-r--
2022-10-31 11:36
bug51958.phpt
586
B
-rw-rw-r--
2022-10-31 11:36
bug63000.phpt
417
B
-rw-rw-r--
2022-10-31 11:36
bug76839.phpt
2.03
KB
-rw-rw-r--
2022-10-31 11:36
ipv4loop.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
ipv6_skipif.inc
178
B
-rw-rw-r--
2022-10-31 11:36
ipv6loop.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
mcast_helpers.php.inc
263
B
-rw-rw-r--
2022-10-31 11:36
mcast_ipv4_recv.phpt
5.14
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv4_send.phpt
1.53
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv4_send_error.phpt
2.2
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv6_recv.phpt
5.7
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv6_recv_limited.phpt
3.28
KB
-rw-rw-r--
2022-10-31 11:36
mcast_ipv6_send.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
socket_abstract_path.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
socket_abstract_path_sendmsg.phpt
904
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_bind.phpt
393
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_connect.phpt
399
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_explain.phpt
722
B
-rw-rw-r--
2022-10-31 11:36
socket_addrinfo_lookup.phpt
499
B
-rw-rw-r--
2022-10-31 11:36
socket_bind.phpt
822
B
-rw-rw-r--
2022-10-31 11:36
socket_clear_error-win32.phpt
827
B
-rw-rw-r--
2022-10-31 11:36
socket_clear_error.phpt
769
B
-rw-rw-r--
2022-10-31 11:36
socket_cmsg_credentials.phpt
2.16
KB
-rw-rw-r--
2022-10-31 11:36
socket_cmsg_rights.phpt
2.13
KB
-rw-rw-r--
2022-10-31 11:36
socket_connect_params.phpt
849
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen-nobind.phpt
773
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen-win32.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen.phpt
458
B
-rw-rw-r--
2022-10-31 11:36
socket_create_listen_used.phpt
759
B
-rw-rw-r--
2022-10-31 11:36
socket_create_pair-wrongparams-win32.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
socket_create_pair-wrongparams.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
socket_create_pair.phpt
466
B
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-1.phpt
539
B
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-2.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-3.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-4-win.phpt
2.53
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-4.phpt
2.4
KB
-rw-rw-r--
2022-10-31 11:36
socket_export_stream-5.phpt
608
B
-rw-rw-r--
2022-10-31 11:36
socket_getopt.phpt
1.53
KB
-rw-rw-r--
2022-10-31 11:36
socket_getpeername.phpt
675
B
-rw-rw-r--
2022-10-31 11:36
socket_getpeername_ipv4loop.phpt
1.72
KB
-rw-rw-r--
2022-10-31 11:36
socket_getpeername_ipv6loop.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
socket_getsockname.phpt
605
B
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-1.phpt
556
B
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-2.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-3.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-4-win.phpt
2.48
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-4.phpt
2.43
KB
-rw-rw-r--
2022-10-31 11:36
socket_import_stream-5.phpt
608
B
-rw-rw-r--
2022-10-31 11:36
socket_listen-wrongparams.phpt
645
B
-rw-rw-r--
2022-10-31 11:36
socket_read_params.phpt
435
B
-rw-rw-r--
2022-10-31 11:36
socket_recvmsg.phpt
2.01
KB
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-1-win32.phpt
540
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-1.phpt
625
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-2.phpt
597
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-3.phpt
609
B
-rw-rw-r--
2022-10-31 11:36
socket_select-wrongparams-4.phpt
601
B
-rw-rw-r--
2022-10-31 11:36
socket_select.phpt
563
B
-rw-rw-r--
2022-10-31 11:36
socket_send.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
socket_send_params.phpt
395
B
-rw-rw-r--
2022-10-31 11:36
socket_sendrecvmsg_error.phpt
391
B
-rw-rw-r--
2022-10-31 11:36
socket_sendrecvmsg_multi_msg-unix.phpt
2.67
KB
-rw-rw-r--
2022-10-31 11:36
socket_sendrecvmsg_multi_msg.phpt
2.74
KB
-rw-rw-r--
2022-10-31 11:36
socket_sendto_params.phpt
414
B
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_ipv4_udp.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_ipv6_udp-win32.phpt
2.17
KB
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_ipv6_udp.phpt
1.84
KB
-rw-rw-r--
2022-10-31 11:36
socket_sentto_recvfrom_unix.phpt
2.1
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_block-retval.phpt
581
B
-rw-rw-r--
2022-10-31 11:36
socket_set_nonblock-retval.phpt
593
B
-rw-rw-r--
2022-10-31 11:36
socket_set_nonblock.phpt
423
B
-rw-rw-r--
2022-10-31 11:36
socket_set_option_bindtodevice.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_option_error_socket_option.phpt
885
B
-rw-rw-r--
2022-10-31 11:36
socket_set_option_in6_pktinfo.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_option_rcvtimeo.phpt
976
B
-rw-rw-r--
2022-10-31 11:36
socket_set_option_seolinger.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
socket_set_option_sndtimeo.phpt
976
B
-rw-rw-r--
2022-10-31 11:36
socket_setopt_basic.phpt
747
B
-rw-rw-r--
2022-10-31 11:36
socket_shutdown-win32.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
socket_shutdown.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
socket_strerror.phpt
5.25
KB
-rw-rw-r--
2022-10-31 11:36
unixloop.phpt
1.25
KB
-rw-rw-r--
2022-10-31 11:36
wsaprotocol_info_0.phpt
1.66
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- socket_export_stream: Test with multicasting --SKIPIF-- <?php if (!extension_loaded('sockets')) { die('SKIP sockets extension not available.'); } $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); $br = socket_bind($s, '0.0.0.0', 58393); if ($br === false) die("SKIP IPv4/port 58393 not available"); $so = @socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array( "group" => '224.0.0.23', "interface" => "lo", )); if ($so === false) die("SKIP joining group 224.0.0.23 on interface lo failed"); --FILE-- <?php $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_bind($sock, '0.0.0.0', 58393); $stream = socket_export_stream($sock); var_dump($stream); $so = socket_set_option($sock, IPPROTO_IP, MCAST_JOIN_GROUP, array( "group" => '224.0.0.23', "interface" => "lo", )); var_dump($so); $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); var_dump($sendsock); $br = socket_bind($sendsock, '127.0.0.1'); $so = socket_sendto($sendsock, $m = "my message", strlen($m), 0, "224.0.0.23", 58393); var_dump($so); stream_set_blocking($stream, 0); var_dump(fread($stream, strlen($m))); echo "Done.\n"; --EXPECTF-- resource(%d) of type (stream) bool(true) resource(%d) of type (Socket) int(10) string(10) "my message" Done.