[xdebug-general] Re: xdebug working but just barely. Need some help out I think.

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 26 Jan 2011 14:58:45 +0000 (GMT)

On Thu, 20 Jan 2011, Eric Sepich wrote:

> xdebug.remote_port=9003

9000 vs 9003?

[snip]

>
> This however does not work:
>
> <?php
> $address = '127.0.0.1';
> $port = 9000;
> $sock = socket_create(AF_INET, SOCK_STREAM, 0);
> socket_bind($sock, $address, $port) or die('Unable to bind');
> socket_listen($sock);
> $client = socket_accept($sock);
> echo "connection established: $client";
> socket_close($client);
> socket_close($sock);
> ?>

What are you trying to do with this script?

regards,
Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Wed Jan 26 2011 - 14:58:45 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST