Home
last modified time | relevance | path

Searched refs:clientIter (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp158 auto clientIter = g_clientFDs.find(clientIndex); in TcpServerConnectionFinalize() local
159 if (clientIter != g_clientFDs.end()) { in TcpServerConnectionFinalize()
160 if (clientIter->second != -1) { in TcpServerConnectionFinalize()
161 NETSTACK_LOGI("close socketfd %{public}d", clientIter->second); in TcpServerConnectionFinalize()
162 shutdown(clientIter->second, SHUT_RDWR); in TcpServerConnectionFinalize()
163 clientIter->second = -1; in TcpServerConnectionFinalize()