Searched refs:listenSock (Results 1 – 1 of 1) sorted by relevance
47 int listenSock; /* listen for connection from debugger */ member51 listenSock = -1; in JdwpSocketState()120 netState->listenSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in SocketStartup()121 if (netState->listenSock < 0) { in SocketStartup()129 if (setsockopt(netState->listenSock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0) { in SocketStartup()143 if (bind(netState->listenSock, &addr.addrPlain, sizeof(addr)) != 0) { in SocketStartup()150 if (listen(netState->listenSock, 5) != 0) { in SocketStartup()173 int listenSock = this->listenSock; in Shutdown() local177 this->listenSock = this->clientSock = -1; in Shutdown()180 if (listenSock != -1) { in Shutdown()[all …]