Searched refs:cli_addr (Results 1 – 2 of 2) sorted by relevance
70 struct sockaddr_in cli_addr; in AcceptConnection() local71 memset(&cli_addr, 0, sizeof(cli_addr)); in AcceptConnection()72 socklen_t clilen = sizeof(cli_addr); in AcceptConnection()74 int connection_fd = accept(fd, (struct sockaddr*)&cli_addr, &clilen); in AcceptConnection()
72 struct sockaddr_in cli_addr; in AcceptConnection() local73 memset(&cli_addr, 0, sizeof(cli_addr)); in AcceptConnection()74 socklen_t clilen = sizeof(cli_addr); in AcceptConnection()76 int connection_fd = accept(fd, (struct sockaddr*)&cli_addr, &clilen); in AcceptConnection()