|
|
@@ -91,7 +91,7 @@ class FindBoxCoreSystem
|
|
|
|
|
|
$streamfbOS = @stream_socket_client("tcp://{$this->Host}:{$this->Port}", $errno, $errstr, 1);
|
|
|
if (!$streamfbOS) {
|
|
|
- $frameworkUtils->getLogger()->write("CallAPI::stream_socket_client error eode: [{$errno}]-'{$errstr}'", 'd/m/Y H:i:s');
|
|
|
+ $frameworkUtils->getLogger()->write("CallAPI::stream_socket_client error code: [{$errno}]-'{$errstr}'", 'd/m/Y H:i:s');
|
|
|
return $this->returnCode($errno, $errstr);
|
|
|
} else {
|
|
|
//$requestText = "{$method} {$URI}{$Parameters} HTTP/1.0\r\nHost: {$this->Host}\r\n{$auth}Accept: */*\r\nConnection: close\r\n\r\n";
|
|
|
@@ -143,7 +143,7 @@ class FindBoxCoreSystem
|
|
|
|
|
|
$streamfbOS = @stream_socket_client("tcp://{$this->Host}:{$this->Port}", $errno, $errstr, 1);
|
|
|
if (!$streamfbOS) {
|
|
|
- $frameworkUtils->getLogger()->write("AsyncCallAPI::stream_socket_client error eode: [{$errno}]-'{$errstr}'", 'd/m/Y H:i:s');
|
|
|
+ $frameworkUtils->getLogger()->write("AsyncCallAPI::stream_socket_client error code: [{$errno}]-'{$errstr}'", 'd/m/Y H:i:s');
|
|
|
return $this->returnCode($errno, $errstr);
|
|
|
} else {
|
|
|
stream_set_blocking($streamfbOS, false);
|