Home
last modified time | relevance | path

Searched refs:clientSocket (Results 1 – 9 of 9) sorted by relevance

/third_party/node/test/parallel/
Dtest-tls-over-http-tunnel.js52 const proxy = net.createServer((clientSocket) => {
57 clientSocket.on('data', (chunk) => {
75 clientSocket.write('HTTP/1.1 200 OK\r\nProxy-Connections: keep' +
81 clientSocket.write(chunk);
85 clientSocket.destroy();
92 clientSocket.on('end', () => {
Dtest-net-error-twice.js30 let clientSocket; variable
34 if (clientSocket && serverSocket) {
35 clientSocket.destroy();
55 clientSocket = client;
Dtest-http-keepalive-client.js47 let clientSocket = null; variable
68 if (clientSocket) {
69 assert.strictEqual(sock, clientSocket);
71 clientSocket = sock;
Dtest-http-keepalive-request.js47 let clientSocket = null; variable
68 if (clientSocket) {
69 assert.strictEqual(sock, clientSocket);
71 clientSocket = sock;
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeSocket.cpp134 deSocket* clientSocket = deSocket_accept(m_socket, clientAddress); in accept() local
135 if (!clientSocket) in accept()
140 return new Socket(clientSocket); in accept()
144 deSocket_destroy(clientSocket); in accept()
/third_party/vk-gl-cts/execserver/
DxsTcpServer.cpp48 de::Socket* clientSocket = DE_NULL; in runServer() local
51 while ((clientSocket = m_socket.accept(clientAddr)) != DE_NULL) in runServer()
57 handler = createHandler(clientSocket, clientAddr); in runServer()
61 delete clientSocket; in runServer()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DSwiftConfig.cpp134 Socket *clientSocket = listenSocket->accept(); in serverLoop() local
139 if(clientSocket->select(10)) in serverLoop()
141 bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in serverLoop()
147 respond(clientSocket, receiveBuffer); in serverLoop()
152 delete clientSocket; in serverLoop()
171 void SwiftConfig::respond(Socket *clientSocket, const char *request) in respond() argument
179 return send(clientSocket, OK, page()); in respond()
200 int bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in respond()
219 return send(clientSocket, OK, page()); in respond()
223 return send(clientSocket, OK, profile()); in respond()
[all …]
DSwiftConfig.hpp92 void respond(Socket *clientSocket, const char *request);
95 void send(Socket *clientSocket, Status code, std::string body = "");
/third_party/node/doc/api/
Dhttp.md425 proxy.on('connect', (req, clientSocket, head) => {
429 clientSocket.write('HTTP/1.1 200 Connection Established\r\n' +
433 serverSocket.pipe(clientSocket);
434 clientSocket.pipe(serverSocket);