Home | History | Annotate | Download | only in cctest

Lines Matching refs:Socket

38   Socket* server_;  // Server socket used for bind/accept.
39 Socket* client_; // Single client connection used by the test.
40 Semaphore* listening_; // Signalled when the server socket is in listen mode.
47 // Create the server socket and bind it to the requested port.
71 static bool SendAll(Socket* socket, const char* data, int len) {
74 int status = socket->Send(data, len);
94 // Create a socket listener.
100 Socket* client = OS::CreateSocket();
124 TEST(Socket) {
131 // Initialize socket support.
132 ok = Socket::SetUp();
162 CHECK_EQ(x, Socket::NToH(Socket::HToN(x)));
165 CHECK(y == Socket::NToH(Socket::HToN(y)));