Searched refs:socket_last_error (Results 1 – 11 of 11) sorted by relevance
18 var_dump(socket_last_error($socket));20 var_dump(socket_last_error($socket));
18 … 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)) . "…
15 socket_strerror(socket_last_error($socket))));26 socket_strerror(socket_last_error($socket))));41 if (($bytes === false) && ($errno = socket_last_error($socket))) {
23 socket_strerror(socket_last_error($socket))));34 socket_strerror(socket_last_error($socket))));49 if (($bytes === false) && ($errno = socket_last_error($socket))) {
24 die("Unable to create socket: " . socket_strerror(socket_last_error()) . "\n");40 die("Unable to send packet: " . socket_strerror(socket_last_error($socket)) . "\n");
21 echo socket_last_error();
244 ZEND_FUNCTION(socket_last_error);294 ZEND_FE(socket_last_error, arginfo_socket_last_error)
2053 function socket_last_error(?Socket $socket = null): int {} function
2254 PHP_FUNCTION(socket_last_error) argument
254 … throw new TransportException('Unable to create socket: ' . socket_strerror(socket_last_error()));260 $error = socket_strerror(socket_last_error($this->socket));
Completed in 18 milliseconds