Lines Matching refs:mSessionSocket
110 VerifyOrExit(mSessionSocket != -1); in OutputFormatV()
114 rval = send(mSessionSocket, buf, static_cast<size_t>(rval), MSG_NOSIGNAL); in OutputFormatV()
116 rval = static_cast<int>(write(mSessionSocket, buf, static_cast<size_t>(rval))); in OutputFormatV()
122 close(mSessionSocket); in OutputFormatV()
123 mSessionSocket = -1; in OutputFormatV()
156 if (mSessionSocket != -1) in InitializeSessionSocket()
158 close(mSessionSocket); in InitializeSessionSocket()
160 mSessionSocket = newSessionSocket; in InitializeSessionSocket()
304 if (mSessionSocket != -1) in TearDown()
306 close(mSessionSocket); in TearDown()
307 mSessionSocket = -1; in TearDown()
349 if (mSessionSocket != -1) in Update()
351 FD_SET(mSessionSocket, &aContext.mReadFdSet); in Update()
352 FD_SET(mSessionSocket, &aContext.mErrorFdSet); in Update()
354 if (aContext.mMaxFd < mSessionSocket) in Update()
356 aContext.mMaxFd = mSessionSocket; in Update()
378 VerifyOrExit(mSessionSocket != -1); in Process()
380 if (FD_ISSET(mSessionSocket, &aContext.mErrorFdSet)) in Process()
382 close(mSessionSocket); in Process()
383 mSessionSocket = -1; in Process()
385 else if (FD_ISSET(mSessionSocket, &aContext.mReadFdSet)) in Process()
390 rval = read(mSessionSocket, buffer, sizeof(buffer) - 1); in Process()
407 close(mSessionSocket); in Process()
408 mSessionSocket = -1; in Process()