Searched refs:listenSocket (Results 1 – 3 of 3) sorted by relevance
/external/libvncserver/libvncclient/ |
D | listen.c | 56 int listenSocket, listen6Socket = -1; in listenForIncomingConnections() 61 listenSocket = ListenAtTcpPortAndAddress(client->listenPort, client->listenAddress); in listenForIncomingConnections() 63 if ((listenSocket < 0)) in listenForIncomingConnections() 97 if(listenSocket >= 0) in listenForIncomingConnections() 98 FD_SET(listenSocket, &fds); in listenForIncomingConnections() 102 r = select(max(listenSocket, listen6Socket)+1, &fds, NULL, NULL, NULL); in listenForIncomingConnections() 105 if (FD_ISSET(listenSocket, &fds)) in listenForIncomingConnections() 125 close(listenSocket); in listenForIncomingConnections()
|
/external/tpm2/ |
D | TcpServer.c | 43 SOCKET *listenSocket in CreateSocket() argument 57 *listenSocket = socket(PF_INET, SOCK_STREAM, 0); in CreateSocket() 59 if(INVALID_SOCKET == *listenSocket) in CreateSocket() 69 res= bind(*listenSocket,(struct sockaddr*) &MyAddress,sizeof(MyAddress)); in CreateSocket() 76 res= listen(*listenSocket,3); in CreateSocket() 174 SOCKET listenSocket, serverSocket; in PlatformSvcRoutine() local 179 res = CreateSocket(PortNumber, &listenSocket); in PlatformSvcRoutine() 193 serverSocket = accept(listenSocket, in PlatformSvcRoutine() 247 SOCKET listenSocket; in RegularCommandService() local 252 res = CreateSocket(PortNumber, &listenSocket); in RegularCommandService() [all …]
|
D | part4.txt | 37293 28 SOCKET *listenSocket 37310 45 *listenSocket = socket(PF_INET, SOCK_STREAM, 0); 37317 46 if(INVALID_SOCKET == *listenSocket) 37329 58 res= bind(*listenSocket,(struct sockaddr*) &MyAddress,sizeof(MyAddress)); 37337 66 res= listen(*listenSocket,3); 37460 165 SOCKET listenSocket, serverSocket; 37466 171 res = CreateSocket(PortNumber, &listenSocket); 37482 187 serverSocket = accept(listenSocket, 37545 232 SOCKET listenSocket; 37552 239 res = CreateSocket(PortNumber, &listenSocket); [all …]
|