Home
last modified time | relevance | path

Searched refs:AF_INET (Results 1 – 25 of 77) sorted by relevance

1234

/PHP-8.2/ext/sockets/tests/
H A Dipv4loop.phpt8 $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 Dsocket_meminfo.phpt11 $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 Dsocket_create_pair-wrongparams-win32.phpt13 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 Dsocket_getpeername_ipv4loop.phpt14 $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 Dsocket_shutdown.phpt20 $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 Dsocket_create_pair-wrongparams.phpt13 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 Dsocket_shutdown-win32.phpt19 $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 Dsocket_export_stream-5.phpt11 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
16 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_export_stream-3.phpt8 $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 Dsocket_export_stream-4.phpt44 $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 Dbug80723.phpt7 $socket_1 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
8 $socket_2 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
H A Dsocket_bpf_extensions.phpt13 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
15 die('Unable to create AF_INET socket [socket]');
H A Dsocket_export_stream-4-win.phpt44 $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 Dsocket_setopt_basic.phpt10 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
12 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_rcvtimeo.phpt10 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
12 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_sndtimeo.phpt10 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
12 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_acf.phpt17 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
20 die('Unable to create AF_INET socket [socket]');
H A Dsocket_defer_acp.phpt15 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
18 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_error_socket_option.phpt22 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
24 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_bindtodevice.phpt20 $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 Dsockaddr_conv.c93 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 Dudp4loop.phpt12 die('Unable to create AF_INET socket [server]: ' . $errstr);
18 die('Unable to create AF_INET socket [client]');
H A Dtcp4loop.phpt15 die('Unable to create AF_INET socket [server]');
21 die('Unable to create AF_INET socket [client]');
H A Dshutdown.phpt20 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 Dsockets.c33 if (domain != AF_INET) { in socketpair_win32()
46 address.sin_family = AF_INET; in socketpair_win32()

Completed in 19 milliseconds

1234