Home
last modified time | relevance | path

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

12

/PHP-5.3/ext/sockets/tests/
H A Dipv4loop.phpt12 $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 Dsocket_create_pair-wrongparams-win32.phpt13 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 Dsocket_getpeername_ipv4loop.phpt21 $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 Dsocket_create_pair-wrongparams.phpt13 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 Dsocket_create_params.phpt15 $s_w = socket_create(AF_INET);
16 $s_w = socket_create(AF_INET, SOCK_STREAM);
H A Dsocket_set_option_error_socket_option.phpt18 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
20 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_rcvtimeo.phpt14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
16 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_sndtimeo.phpt14 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
16 die('Unable to create AF_INET socket [socket]');
H A Dsocket_set_option_seolinger.phpt15 $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
18 die('Unable to create AF_INET socket [socket]');
H A Dsocket_create_pair.phpt12 $domain = AF_INET;
H A Dsocket_select.phpt12 $domain = AF_INET;
H A Dsocket_getsockname.phpt15 $s_c = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
H A Dsocket_select-wrongparams-4.phpt14 $domain = AF_INET;
H A Dsocket_select-wrongparams-1-win32.phpt14 $domain = AF_INET;
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt10 $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
12 die('Unable to create AF_INET socket');
H A Dsocket_select-wrongparams-3.phpt14 $domain = AF_INET;
H A Dsocket_bind.phpt15 $s_c = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
H A Dsocket_getpeername.phpt15 $s_c = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
/PHP-5.3/win32/
H A Dinet.c18 case AF_INET: in inet_pton()
32 case AF_INET: in inet_pton()
56 case AF_INET: in inet_ntop()
H A Dsockets.c37 if(domain != AF_INET) { in socketpair()
51 address.sin_family = AF_INET; in socketpair()
/PHP-5.3/ext/standard/tests/network/
H A Dudp4loop.phpt8 die('Unable to create AF_INET socket [server]');
14 die('Unable to create AF_INET socket [client]');
H A Dshutdown.phpt12 die('Unable to create AF_INET socket [server]');
18 die('Unable to create AF_INET socket [client]');
27 die('Unable to create AF_INET socket [client]');
H A Dtcp4loop.phpt8 die('Unable to create AF_INET socket [server]');
14 die('Unable to create AF_INET socket [client]');
/PHP-5.3/main/
H A Dnetwork.c207 hints.ai_family = ipv6_borked ? AF_INET : AF_UNSPEC; in php_network_getaddresses()
262 (*sap)->sa_family = AF_INET; in php_network_getaddresses()
449 case AF_INET:
543 in4->sin_family = AF_INET;
570 case AF_INET:
609 case AF_INET:
817 case AF_INET:
835 if (sa->sa_family == AF_INET) {
943 case AF_INET: {
945 sin->sin_family = AF_INET;
[all …]
/PHP-5.3/ext/sockets/
H A Dsockets.c100 #define PF_INET AF_INET
1124 case AF_INET:
1202 case AF_INET:
1251 && arg1 != AF_INET) {
1253 arg1 = AF_INET;
1320 case AF_INET:
1409 case AF_INET:
1583 case AF_INET:
1682 case AF_INET:
1925 if (domain != AF_INET
[all …]

Completed in 32 milliseconds

12