|
@@ -116,6 +116,7 @@ class WebSocketClient
|
|
|
{
|
|
|
if (extension_loaded('swoole'))
|
|
|
{
|
|
|
+ var_dump("xxaa02");
|
|
|
// $type = SWOOLE_TCP;
|
|
|
// if ($this->ssl)
|
|
|
// {
|
|
@@ -148,6 +149,7 @@ class WebSocketClient
|
|
|
else
|
|
|
{
|
|
|
$this->socket = new \TCP;
|
|
|
+ var_dump("xxaa01");
|
|
|
}
|
|
|
//建立连接
|
|
|
if (!$this->socket->connect($this->host, $this->port, $timeout))
|