Home
last modified time | relevance | path

Searched refs:sockName (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/toolchain/inspector/
H A Dconnect_server.cpp46 std::string sockName = pidStr + bundleName_; in RunServer() local
48 if (!webSocket_->InitUnixWebSocket(sockName)) { in RunServer()
H A Dws_server.cpp61 std::string sockName = pidStr + instanceIdStr + debugInfo_.componentName; in RunServer() local
64 if (!webSocket_->InitUnixWebSocket(sockName)) { in RunServer()
/arkcompiler/toolchain/websocket/client/
H A Dwebsocket_client.cpp121 bool WebSocketClient::InitToolchainWebSocketForSockName(const std::string &sockName, uint32_t timeoutLimit) in InitToolchainWebSocketForSockName() argument
154 if (strcpy_s(serverAddr.sun_path + 1, sizeof(serverAddr.sun_path) - 1, sockName.c_str()) != EOK) { in InitToolchainWebSocketForSockName()
163 uint32_t len = offsetof(struct sockaddr_un, sun_path) + strlen(sockName.c_str()) + 1; in InitToolchainWebSocketForSockName()
H A Dwebsocket_client.h36 bool InitToolchainWebSocketForSockName(const std::string &sockName, uint32_t timeoutLimit = 5);
/arkcompiler/toolchain/websocket/server/
H A Dwebsocket_server.cpp275 bool WebSocketServer::InitUnixWebSocket(const std::string& sockName, uint32_t timeoutLimit) in InitUnixWebSocket() argument
300 if (strcpy_s(un.sun_path + 1, sizeof(un.sun_path) - 1, sockName.c_str()) != EOK) { in InitUnixWebSocket()
306 uint32_t len = offsetof(struct sockaddr_un, sun_path) + strlen(sockName.c_str()) + 1; in InitUnixWebSocket()
H A Dwebsocket_server.h55 * @param sockName server socket name.
59 bool InitUnixWebSocket(const std::string& sockName, uint32_t timeoutLimit = 0);

Completed in 3 milliseconds