/PHP-8.2/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 | 13 var_dump(socket_create_pair(AF_INET, 0, 0, $sockets)); 22 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets)); 29 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 | 13 var_dump(socket_create_pair(AF_INET, 0, 0, $sockets)); 22 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets)); 31 socket_create_pair(): Argument #1 ($domain) must be one of AF_UNIX, AF_INET6, or AF_INET
|
H A D | socket_shutdown-win32.phpt | 19 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 24 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 29 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 34 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
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); 19 $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 30 $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | socket_export_stream-4.phpt | 44 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 50 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 57 $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 64 $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 71 $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 | 44 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 50 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 57 $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 64 $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 71 $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_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_bindtodevice.phpt | 20 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 23 die('Unable to create AF_INET socket [socket]');
|
/PHP-8.2/ext/sockets/ |
H A D | sockaddr_conv.c | 93 if (inet_pton(AF_INET, string, &tmp)) { 108 if (host_entry->h_addrtype != AF_INET) { 123 if (php_sock->type == AF_INET) { 127 ss->ss_family = AF_INET;
|
/PHP-8.2/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]');
|
/PHP-8.2/win32/ |
H A D | sockets.c | 33 if (domain != AF_INET) { in socketpair_win32() 46 address.sin_family = AF_INET; in socketpair_win32()
|