/php-src/ext/sockets/tests/ |
H A D | ipv4loop.phpt | 8 $server = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 10 die('Unable to create AF_INET socket [server]'); 24 $client = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 26 die('Unable to create AF_INET socket [client]');
|
H A D | socket_meminfo.phpt | 11 $server = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 13 die('Unable to create AF_INET socket [server]'); 27 $client = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 29 die('Unable to create AF_INET socket [client]');
|
H A D | socket_create_pair-wrongparams-win32.phpt | 14 var_dump(socket_create_pair(AF_INET, 0, 0, $sockets)); 23 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets)); 30 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
|
H A D | socket_getpeername_ipv4loop.phpt | 14 $server = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 16 die('Unable to create AF_INET socket [server]'); 36 $client = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 38 die('Unable to create AF_INET socket [client]');
|
H A D | socket_shutdown.phpt | 20 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 25 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 30 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 35 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
H A D | socket_create_pair-wrongparams.phpt | 14 var_dump(socket_create_pair(AF_INET, 0, 0, $sockets)); 23 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets)); 32 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
|
H A D | socket_export_stream-5.phpt | 11 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 16 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | socket_export_stream-3.phpt | 8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 20 $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 31 $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | socket_shutdown-win32.phpt | 26 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 31 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 36 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 41 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
H A D | socket_export_stream-4.phpt | 45 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 51 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 58 $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 65 $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 72 $sock4 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | bug80723.phpt | 7 $socket_1 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 8 $socket_2 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
H A D | socket_bpf_extensions.phpt | 13 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 15 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_export_stream-4-win.phpt | 45 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 51 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 58 $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 65 $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 72 $sock4 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | socket_setopt_basic.phpt | 10 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 12 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_reuseport_cbpf.phpt | 14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 17 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_rcvtimeo.phpt | 10 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 12 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_sndtimeo.phpt | 10 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 12 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_acf.phpt | 17 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 20 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_defer_acp.phpt | 15 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 18 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_error_socket_option.phpt | 22 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 24 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_tsf.phpt | 14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 17 die('Unable to create AF_INET socket [socket]');
|
/php-src/ext/sockets/ |
H A D | sockaddr_conv.c | 92 if (inet_pton(AF_INET, string, &tmp)) { in php_set_inet_addr() 104 if (host_entry->h_addrtype != AF_INET) { in php_set_inet_addr() 119 if (php_sock->type == AF_INET) { in php_set_inet46_addr() 123 ss->ss_family = AF_INET; in php_set_inet46_addr()
|
/php-src/ext/standard/tests/network/ |
H A D | udp4loop.phpt | 12 die('Unable to create AF_INET socket [server]: ' . $errstr); 18 die('Unable to create AF_INET socket [client]');
|
H A D | tcp4loop.phpt | 15 die('Unable to create AF_INET socket [server]'); 21 die('Unable to create AF_INET socket [client]');
|
H A D | shutdown.phpt | 20 die('Unable to create AF_INET socket [server]'); 26 die('Unable to create AF_INET socket [client]'); 35 die('Unable to create AF_INET socket [client]');
|