Home
last modified time | relevance | path

Searched refs:socket_last_error (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/sockets/tests/
H A Dsocket_clear_error.phpt18 var_dump(socket_last_error($socket));
20 var_dump(socket_last_error($socket));
H A Dwsaprotocol_info_0.phpt18 … fprintf(STDERR, "socket_create() failed: reason: " . socket_strerror(socket_last_error()) . "\n");
22 …fprintf(STDERR, "socket_bind() failed: reason: " . socket_strerror(socket_last_error($sock)) . "\n…
26 …fprintf(STDERR, "socket_listen() failed: reason: " . socket_strerror(socket_last_error($sock)) . "…
H A Dsocket_clear_error-win32.phpt18 var_dump(socket_last_error($socket));
20 var_dump(socket_last_error($socket));
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt15 socket_strerror(socket_last_error($socket))));
26 socket_strerror(socket_last_error($socket))));
41 if (($bytes === false) && ($errno = socket_last_error($socket))) {
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt23 socket_strerror(socket_last_error($socket))));
34 socket_strerror(socket_last_error($socket))));
49 if (($bytes === false) && ($errno = socket_last_error($socket))) {
H A Dsocket_icmp.phpt24 die("Unable to create socket: " . socket_strerror(socket_last_error()) . "\n");
40 die("Unable to send packet: " . socket_strerror(socket_last_error($socket)) . "\n");
H A Dbug51958.phpt21 echo socket_last_error();
/php-src/ext/sockets/
H A Dsockets_arginfo.h244 ZEND_FUNCTION(socket_last_error);
294 ZEND_FE(socket_last_error, arginfo_socket_last_error)
H A Dsockets.stub.php2053 function socket_last_error(?Socket $socket = null): int {} function
H A Dsockets.c2254 PHP_FUNCTION(socket_last_error) argument
/php-src/sapi/fpm/tests/
H A Dfcgi.inc254 … throw new TransportException('Unable to create socket: ' . socket_strerror(socket_last_error()));
260 $error = socket_strerror(socket_last_error($this->socket));

Completed in 19 milliseconds