ipv6_skipif.inc 184 B

1234567
  1. <?php
  2. if (getenv("CI_NO_IPV6") || !defined("AF_INET6")) {
  3. die('skip no IPv6 support');
  4. }
  5. if (@stream_socket_client('udp://[::1]:8888') === false)
  6. die('skip no IPv6 support');