改名
This commit is contained in:
+4
-4
@@ -186,10 +186,10 @@ class Broker
|
|||||||
if ($host && $port) {
|
if ($host && $port) {
|
||||||
try {
|
try {
|
||||||
$socket = $this->getSocket($host, $port, $modeSync);
|
$socket = $this->getSocket($host, $port, $modeSync);
|
||||||
if (!$modeSync) {
|
// if (!$modeSync) {
|
||||||
$socket->SetonReadable($this->process);
|
// $socket->SetonReadable($this->process);
|
||||||
}
|
// }
|
||||||
$socket->connect();
|
// $socket->connect();
|
||||||
$this->{$type}[$key] = $socket;
|
$this->{$type}[$key] = $socket;
|
||||||
return $socket;
|
return $socket;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user