Lines Matching refs:serverSocket
51 serverSocket = -1;
61 if (serverSocket != -1)
62 shutdown(serverSocket,SHUT_RDWR);
63 serverSocket = -1;
71 if (serverSocket == -1) {
72 serverSocket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
74 NSAssert1(serverSocket != -1, @"Failed to create debugger socket. %s", strerror(errno));
77 …setsockopt(serverSocket, SOL_SOCKET, SO_KEEPALIVE|SO_REUSEPORT|SO_REUSEADDR|TCP_NODELAY, (void *)&…
84 …NSAssert1( bind(serverSocket, (struct sockaddr *)&server_addr, sizeof(struct sockaddr)) != -1, @"b…
86 NSAssert1(listen(serverSocket,50) == 0, @"listen(2) failed. %s", strerror(errno));
90 debuggerSocket = accept(serverSocket, &debugger_sockaddr, &debugger_socklen);
128 - (NSInteger) serverSocket
130 return serverSocket;
135 serverSocket = aServerSocket;
305 shutdown(serverSocket,SHUT_RDWR);
306 serverSocket = -1;