Home
last modified time | relevance | path

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

1234

/PHP-8.4/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.phpt14 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 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.phpt14 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 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);
20 $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
31 $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_shutdown-win32.phpt26 $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 Dsocket_export_stream-4.phpt45 $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 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.phpt45 $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 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_reuseport_cbpf.phpt14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
17 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.4/ext/sockets/
H A Dsockaddr_conv.c92 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-8.4/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]');

Completed in 27 milliseconds

1234