Searched refs:monitor_sock (Results 1 – 2 of 2) sorted by relevance
36 auto monitor_sock = in StopModemSimulator() local38 if (!monitor_sock->IsOpen()) { in StopModemSimulator()43 if (monitor_sock->Write(msg.data(), msg.size()) < 0) { in StopModemSimulator()44 monitor_sock->Close(); in StopModemSimulator()49 if (monitor_sock->Read(buf, sizeof(buf)) <= 0) { in StopModemSimulator()50 monitor_sock->Close(); in StopModemSimulator()55 monitor_sock->Close(); in StopModemSimulator()
56 auto monitor_sock = SharedFD::SocketLocalClient( in Stop() local59 if (!monitor_sock->IsOpen()) { in Stop()66 int tmp = monitor_sock->Write(msg, len); in Stop()68 LOG(ERROR) << "Error writing to socket: " << monitor_sock->StrError(); in Stop()75 while ((len = monitor_sock->Read(buff, sizeof(buff) - 1)) > 0) { in Stop()