public function sendIdipCmd($ip, $port, $data, $apiId = ServerApi::GPT_IDIP_GM) { $this->debug('start sendIdipCmd: ' . microtime(true)); $socket = new SocketClient($ip, $port); $socket->setLogger($this->logger); $this->debug('start socket->idipCall: ' . microtime(true)); $ret = $socket->idipCall($apiId, $data); $this->debug('return: ' . microtime(true)); return $ret; }