Home
last modified time | relevance | path

Searched refs:socket_create (Results 1 – 25 of 52) sorted by relevance

123

/PHP-7.0/ext/sockets/tests/
H A Dsocket_create_params.phpt2 ext/sockets - socket_create - test with empty parameters
14 $s_w = socket_create();
15 $s_w = socket_create(AF_INET);
16 $s_w = socket_create(AF_INET, SOCK_STREAM);
20 Warning: socket_create() expects exactly 3 parameters, 0 given in %s on line %i
22 Warning: socket_create() expects exactly 3 parameters, 1 given in %s on line %i
24 Warning: socket_create() expects exactly 3 parameters, 2 given in %s on line %i
H A Dsocket_connect_error.phpt18 $server = socket_create();
21 $server = socket_create(SOCK_STREAM, getprotobyname('tcp'));
24 $server = socket_create(array(), 1, 1);
28 Warning: socket_create() expects exactly 3 parameters, 0 given in %s on line %d
30 Warning: socket_create() expects exactly 3 parameters, 2 given in %s on line %d
32 Warning: socket_create() expects parameter 1 to be integer, array given in %s on line %d
H A Dsocket_shutdown.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_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-4.phpt32 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
38 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
45 $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
52 $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
59 $sock4 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_export_stream-3.phpt8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
21 $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
31 $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_export_stream-4-win.phpt33 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
39 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
46 $sock2 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
53 $sock3 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
60 $sock4 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_export_stream-5.phpt13 $sock0 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
18 $sock1 = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_abstract_path_sendmsg.phpt19 $sends1 = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err");
23 $s = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err");
H A Dipv4loop.phpt12 $server = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
31 $client = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
H A Dsocket_import_stream-3.phpt8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
30 $sendsock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_sentto_recvfrom_unix.phpt13 $socket = socket_create(AF_UNIX, SOCK_DGRAM, SOL_UDP); // cause warning
14 $socket = socket_create(AF_UNIX, SOCK_DGRAM, 0);
55 Warning: socket_create(): Unable to create socket [%d]: Protocol not supported in %s on line %d
H A Dipv6loop.phpt13 $server = socket_create(AF_INET6, SOCK_STREAM, getprotobyname('tcp'));
32 $client = socket_create(AF_INET6, SOCK_STREAM, getprotobyname('tcp'));
H A Dsocket_abstract_path.phpt19 $servers = socket_create(AF_UNIX, SOCK_STREAM, 0) or die("err");
25 $clients = socket_create(AF_UNIX, SOCK_STREAM, 0) or die("err");
H A Dunixloop.phpt20 $server = socket_create(AF_UNIX, SOCK_STREAM, 0);
32 $client = socket_create(AF_UNIX, SOCK_STREAM, 0);
H A Dsocket_getpeername_ipv4loop.phpt18 $server = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
40 $client = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
H A Dsocket_getpeername_ipv6loop.phpt19 $server = socket_create(AF_INET6, SOCK_STREAM, getprotobyname('tcp'));
41 $client = socket_create(AF_INET6, SOCK_STREAM, getprotobyname('tcp'));
H A Dmcast_ipv4_send.phpt8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) or die("err");
16 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP) or die("err");
H A Dmcast_ipv6_send.phpt12 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("skip Can not create socket");
20 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP) or die("err");
H A Dsocket_recvmsg.phpt24 $sends1 = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err");
31 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("err");
H A Dbug63000.phpt13 $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
H A Dsocket_cmsg_credentials.phpt27 $sends1 = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err");
32 $s = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err");
H A Dsocket_cmsg_rights.phpt27 $sends1 = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err");
32 $s = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err");
H A Dbug51958.phpt15 $listenfd = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP);
H A Dsocket_getsockname.phpt15 $s_c = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);

Completed in 23 milliseconds

123