php-src/ext/sockets/tests/ipv6_skipif.inc
2013-02-02 14:06:23 +01:00

7 lines
153 B
PHP

<?php
if (!defined("AF_INET6")) {
die('skip no IPv6 support');
}
if (@stream_socket_client('udp://[::1]:8888') === false)
die('skip no IPv6 support');