Searched refs:listenSock (Results 1 – 2 of 2) sorted by relevance
28 SOCKET listenSock; in SocketTest() local70 listenSock = socket(AF_INET, SOCK_STREAM, 0); in SocketTest()71 if (listenSock == INVALID_SOCKET) { in SocketTest()81 if (bind(listenSock, (struct sockaddr *) &selfAddr, in SocketTest()88 if (getsockname(listenSock, (struct sockaddr *) &selfAddr, in SocketTest()95 if (listen(listenSock, 5) == SOCKET_ERROR) { in SocketTest()137 osfd[1] = accept(listenSock, (struct sockaddr *) &peerAddr, &addrLen); in SocketTest()150 closesocket(listenSock); in SocketTest()160 if (listenSock != INVALID_SOCKET) { in SocketTest()161 closesocket(listenSock); in SocketTest()
326 server->listenSock); in ui_create_window()