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

/PHP_TRUNK/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_TRUNK/ext/ftp/tests/
H A Dserver.inc38 //listen for 3 seconds 3 seconds
/PHP_TRUNK/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_TRUNK/ext/sockets/
H A Dsockets.c455 if (listen(sock->bsd_socket, backlog) != 0) {
456 PHP_SOCKET_ERROR(sock, "unable to listen on socket", errno);
1038 if (listen(php_sock->bsd_socket, backlog) != 0) {
1039 PHP_SOCKET_ERROR(php_sock, "unable to listen on socket", errno);
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c670 /* Create, bind socket and start listen on it */
676 listen(listen_socket, backlog) < 0) {
678 fprintf(stderr, "Cannot bind/listen socket - [%d] %s.\n",errno, strerror(errno));
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c2257 ret = listen( fd, backlog );
/PHP_TRUNK/win32/
H A Dsockets.c62 if (listen(sock[0], 2) != 0) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_sockets.c171 zlog(ZLOG_ERROR, "An another FPM instance seems to already listen on %s", ((struct sockaddr_un *) sa)->sun_path);
202 if (0 > listen(sock, wp->config->listen_backlog)) {
203 zlog(ZLOG_SYSERROR, "failed to listen to address '%s'", wp->config->listen_address);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1328 if (listen(retval, SOMAXCONN)) {
2264 php_cli_server_logf("Failed to listen on %s:%d (reason: %s)" TSRMLS_CC, host, port, errstr ? errstr->val : "?");
/PHP_TRUNK/main/streams/
H A Dxp_socket.c347 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_io.c211 listen(fd, 5);
H A Dphpdbg.c755 {'l', 1, "listen"},
1018 int listen = -1; local
1178 /* if you pass a listen port, we will read and write on listen port */
1179 case 'l': /* set listen ports */
1180 if (sscanf(php_optarg, "%d", &listen) != 1) {
1181 listen = 8000;
1297 if (cleaning <= 0 && listen > 0) {
1298 server = phpdbg_open_socket(address, listen TSRMLS_CC);
1299 if (-1 > server || phpdbg_remote_init(address, listen, serve
[all...]
H A Dphpdbg_wait.c365 listen(sl, 2);

Completed in 27 milliseconds