Searched refs:socket1 (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/cctest/ |
D | test_inspector_socket_server.cc | 506 SocketWrapper socket1(&loop); in TEST_F() local 507 socket1.Connect(HOST, server.port()); in TEST_F() 508 socket1.TestHttpRequest("/json/list", "[ ]"); in TEST_F() 510 socket1.TestHttpRequest("/json/list", "[ ]"); in TEST_F() 511 socket1.Close(); in TEST_F() 519 SocketWrapper socket1(&loop); in TEST_F() local 520 socket1.Connect(HOST, server.port()); in TEST_F() 521 socket1.TestHttpRequest("/json/list", "[ ]"); in TEST_F() 523 socket1.TestHttpRequest("/json/list", "[ ]"); in TEST_F() 524 socket1.Close(); in TEST_F() [all …]
|
/third_party/node/test/parallel/ |
D | test-cluster-dgram-ipv6only.js | 26 const socket1 = dgram.createSocket({ constant 33 socket1.on('error', common.mustNotCall()); 36 socket1.bind({ 40 const { port } = socket1.address(); 46 socket1.close(close);
|
D | test-cluster-dgram-reuse.js | 24 const socket1 = dgram.createSocket(options); constant 27 socket1.bind(0, () => { 28 socket2.bind(socket1.address().port, () => { 31 socket1.close(close);
|
/third_party/node/lib/internal/tls/ |
D | secure-pair.js | 49 this.socket1 = new DuplexSocket(); 51 this.socket1[kOtherSide] = this.socket2; 52 this.socket2[kOtherSide] = this.socket1; 63 const { socket1, socket2 } = new DuplexPair(); 68 this.encrypted = socket1;
|
/third_party/node/test/known_issues/ |
D | test-dgram-bind-shared-ports-after-port-0.js | 50 const socket1 = dgram.createSocket('udp4', () => {}); constant 51 socket1.on('error', PRT1 === 0 ? () => {} : assert.fail); 52 socket1.bind( 54 () => process.send({ message: 'success', port1: socket1.address().port }),
|
/third_party/node/test/sequential/ |
D | test-dgram-bind-shared-ports.js | 76 const socket1 = dgram.createSocket('udp4', common.mustNotCall()); constant 80 socket1.on('error', (err) => assert.fail(err)); 103 socket1.bind(opt1, common.mustCall(() => { 104 const port1 = socket1.address().port;
|