[xdebug-general] Re: socket_connect error

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 30 Jun 2006 09:06:18 +0200 (CEST)

On Thu, 29 Jun 2006, Sandrio Fontes wrote:

> i' m trying to send commands to XDebug server with my PHP script client but
> without sucess!
>
> look to this short script:
> <?php
> (...)
> $cmdtowrite ="status -i 2";

The protocol clearly states that you need a trailing NULL (\0):
http://xdebug.org/docs-dbgp.php#ide-to-debugger-engine-communications

Also keep CC-ing the mailinglist please.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Fri Jun 30 2006 - 09:06:45 BST

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