Home
last modified time | relevance | path

Searched refs:socket1 (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/cctest/
Dtest_inspector_socket_server.cc506 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/
Dtest-cluster-dgram-ipv6only.js26 const socket1 = dgram.createSocket({ constant
33 socket1.on('error', common.mustNotCall());
36 socket1.bind({
40 const { port } = socket1.address();
46 socket1.close(close);
Dtest-cluster-dgram-reuse.js24 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/
Dsecure-pair.js49 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/
Dtest-dgram-bind-shared-ports-after-port-0.js50 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/
Dtest-dgram-bind-shared-ports.js76 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;