Lines Matching refs:_serverSignalSocket
80 _serverSignalSocket = INVALID_SOCKET;
204 ATNetworkTool::CloseSocket(_serverSignalSocket);
265 _serverSignalSocket = INVALID_SOCKET;
341 ATNetworkTool::CloseSocket(_serverSignalSocket);
342 _serverSignalSocket = ATNetworkTool::CreateServerSocket((in_port_t)0, error, true);
343 if (_serverSignalSocket == INVALID_SOCKET) {
348 _clientSignalSocket = ATNetworkTool::ConnectToSocket(_serverSignalSocket, error);
350 ATNetworkTool::CloseSocket(_serverSignalSocket);
351 _serverSignalSocket = INVALID_SOCKET;
357 SOCKET s_new = accept(_serverSignalSocket, (struct sockaddr *)&addr, &addrLen);
359 ATNetworkTool::CloseSocket(_serverSignalSocket);
361 _serverSignalSocket = INVALID_SOCKET;
366 ATNetworkTool::CloseSocket(_serverSignalSocket);
367 _serverSignalSocket = s_new;
386 if (_serverSignalSocket != INVALID_SOCKET) {
387 ATNetworkTool::CloseSocket(_serverSignalSocket);
388 _serverSignalSocket = INVALID_SOCKET;
490 FD_SET(_serverSignalSocket, &rset);
491 if ((int)_serverSignalSocket > fdCount) {
492 fdCount = (int)_serverSignalSocket;
554 if (FD_ISSET(_serverSignalSocket, &rset)) { // Received a 'signal'
556 res = recv(_serverSignalSocket, &c, 1, 0);
557 FD_CLR(_serverSignalSocket, &rset);