socket_test.cc | 595 int server_sock = sock1_; local 598 ASSERT_EQ(-1, ki_accept(server_sock, (sockaddr*)&addr, &addrlen)); 601 ASSERT_EQ(-1, ki_listen(server_sock, 10)); 604 ASSERT_EQ(0, Bind(server_sock, LOCAL_HOST, PORT1)); 605 ASSERT_EQ(0, ki_listen(server_sock, 10)) 626 int new_socket = ki_accept(server_sock, (sockaddr*)&client_addr[0], 673 int server_sock = sock1_; local 676 SetNonBlocking(server_sock); 679 ASSERT_EQ(0, Bind(server_sock, LOCAL_HOST, PORT1)); 680 ASSERT_EQ(0, ki_listen(server_sock, 10) 728 int server_sock = sock1_; local 770 int server_sock = sock1_; local 802 int server_sock = sock1_; local [all...] |