Lines Matching refs:socket
25 if (socket != nullptr) {
26 socket.reset();
27 ELOG("TraceTool::InitPipe socket is not null");
30 socket = std::make_unique<LocalSocket>();
31 if (socket == nullptr) {
32 FLOG("TraceTool::Connect socket memory allocation failed!");
35 if (!socket->ConnectToServer(socket->GetTracePipeName(name), LocalSocket::READ_WRITE)) {
51 *(GetInstance().socket) << value.ToString();
71 TraceTool::TraceTool() : socket(nullptr), isReady(false)
78 if (socket != nullptr) {
79 socket->DisconnectFromServer();
80 socket = nullptr;