Searched refs:listen (Results 1 - 11 of 11) sorted by relevance

/PHP_5_6/ext/ftp/tests/
H A Dserver.inc38 //listen for 3 seconds 3 seconds
/PHP_5_6/ext/standard/tests/http/
H A Dserver.inc12 * $socket_string is the socket to create and listen on (e.g. tcp://127.0.0.1:1234)
/PHP_5_6/ext/sockets/
H A Dsockets.c455 if (listen(sock->bsd_socket, backlog) != 0) {
456 PHP_SOCKET_ERROR(sock, "unable to listen on socket", errno);
1049 if (listen(php_sock->bsd_socket, backlog) != 0) {
1050 PHP_SOCKET_ERROR(php_sock, "unable to listen on socket", errno);
/PHP_5_6/win32/
H A Dsockets.c62 if (listen(sock[0], 2) != 0) {
/PHP_5_6/ext/ftp/
H A Dftp.c1390 /* bind/listen */
1434 if (listen(fd, 5) != 0) {
1435 php_error_docref(NULL TSRMLS_CC, E_WARNING, "listen() failed: %s (%d)", strerror(errno), errno);
/PHP_5_6/main/streams/
H A Dxp_socket.c327 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1;
/PHP_5_6/sapi/cgi/
H A Dfastcgi.c671 /* Create, bind socket and start listen on it */
677 listen(listen_socket, backlog) < 0) {
679 fprintf(stderr, "Cannot bind/listen socket - [%d] %s.\n",errno, strerror(errno));
/PHP_5_6/sapi/litespeed/
H A Dlsapilib.c2257 ret = listen( fd, backlog );
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg.c693 {'l', 1, "listen"},
798 listen(fd, 5);
834 int phpdbg_open_sockets(char *address, int port[2], int (*listen)[2], int (*socket)[2], FILE* streams[2]) /* {{{ */ argument
836 if (((*listen)[0]) < 0 && ((*listen)[1]) < 0) {
837 ((*listen)[0]) = phpdbg_open_socket(address, (short)port[0]);
838 ((*listen)[1]) = phpdbg_open_socket(address, (short)port[1]);
844 if ((*listen)[0] < 0 || (*listen)[1] < 0) {
845 if ((*listen)[
987 int listen[2]; local
[all...]
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_sockets.c182 zlog(ZLOG_ERROR, "An another FPM instance seems to already listen on %s", ((struct sockaddr_un *) sa)->sun_path);
210 if (0 > listen(sock, wp->config->listen_backlog)) {
211 zlog(ZLOG_SYSERROR, "failed to listen to address '%s'", wp->config->listen_address);
/PHP_5_6/sapi/cli/
H A Dphp_cli_server.c1381 if (listen(retval, SOMAXCONN)) {
2288 php_cli_server_logf("Failed to listen on %s:%d (reason: %s)" TSRMLS_CC, host, port, errstr ? errstr: "?");

Completed in 67 milliseconds