/PHP-5.5/ext/sockets/tests/ |
H A D | ipv4loop.phpt | 12 $server = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp')); 14 die('Unable to create AF_INET socket [server]'); 24 $client = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp')); 26 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, null, null)); 18 var_dump(socket_create_pair(AF_INET, null, null, $sockets)); 22 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets)); 31 …e_pair(): invalid socket domain [31337] specified for argument 1, assuming AF_INET in %s on line %d
|
H A D | socket_getpeername_ipv4loop.phpt | 21 $server = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp')); 23 die('Unable to create AF_INET socket [server]'); 34 $client = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp')); 36 die('Unable to create AF_INET socket [client]');
|
H A D | socket_create_pair-wrongparams.phpt | 13 var_dump(socket_create_pair(AF_INET, null, null)); 18 var_dump(socket_create_pair(AF_INET, null, null, $sockets)); 22 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets)); 33 …e_pair(): invalid socket domain [31337] specified for argument 1, assuming AF_INET in %s on line %d
|
H A D | socket_create_params.phpt | 15 $s_w = socket_create(AF_INET); 16 $s_w = socket_create(AF_INET, SOCK_STREAM);
|
H A D | socket_set_option_rcvtimeo.phpt | 14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 16 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_sndtimeo.phpt | 14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 16 die('Unable to create AF_INET socket [socket]');
|
H A D | socket_set_option_error_socket_option.phpt | 21 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 23 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]');
|
H A D | socket_import_stream-3.phpt | 8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 30 $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | socket_set_option_seolinger.phpt | 15 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 18 die('Unable to create AF_INET socket [socket]');
|
H A D | mcast_ipv4_send.phpt | 8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) or die("err"); 14 $domain = AF_INET;
|
H A D | bug63000.phpt | 13 $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
H A D | socket_create_pair.phpt | 12 $domain = AF_INET;
|
H A D | socket_select.phpt | 12 $domain = AF_INET;
|
H A D | socket_getsockname.phpt | 15 $s_c = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
|
H A D | socket_select-wrongparams-1-win32.phpt | 14 $domain = AF_INET;
|
H A D | socket_select-wrongparams-4.phpt | 14 $domain = AF_INET;
|
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 10 $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); 12 die('Unable to create AF_INET socket');
|
/PHP-5.5/ext/standard/tests/network/ |
H A D | udp4loop.phpt | 8 die('Unable to create AF_INET socket [server]'); 14 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]');
|
H A D | tcp4loop.phpt | 15 die('Unable to create AF_INET socket [server]'); 21 die('Unable to create AF_INET socket [client]');
|
/PHP-5.5/win32/ |
H A D | sockets.c | 37 if(domain != AF_INET) { in socketpair() 51 address.sin_family = AF_INET; in socketpair()
|
/PHP-5.5/ext/sockets/ |
H A D | sockaddr_conv.c | 102 if (host_entry->h_addrtype != AF_INET) { in php_set_inet_addr() 117 if (php_sock->type == AF_INET) { in php_set_inet46_addr() 121 ss->ss_family = AF_INET; in php_set_inet46_addr()
|
/PHP-5.5/main/ |
H A D | network.c | 210 hints.ai_family = ipv6_borked ? AF_INET : AF_UNSPEC; in php_network_getaddresses() 270 (*sap)->sa_family = AF_INET; in php_network_getaddresses() 457 case AF_INET: 551 in4->sin_family = AF_INET; 578 case AF_INET: 617 case AF_INET: 825 case AF_INET: 843 if (sa->sa_family == AF_INET) { 951 case AF_INET: { 953 sin->sin_family = AF_INET; [all …]
|