<?php

$client = new \Swoole\Client(SWOOLE_SOCK_TCP);
$retval = $client->connect('116.62.138.92', 9602);

if($retval){
	$client->send('Hello, tcp server');
	$ret = $client->recv();
	echo 'Retval => '.$ret.PHP_EOL;
}else{
	echo 'Fail to connect to tcp server';
}