Home
last modified time | relevance | path

Searched refs:localPort (Results 1 – 25 of 26) sorted by relevance

12

/third_party/node/test/sequential/
Dtest-net-connect-local-error.js13 localPort: common.PORT + 1, property
21 localPort: common.PORT + 3, property
28 assert.strictEqual(err.localPort, options.localPort);
33 `- Local (${err.localAddress}:${err.localPort})`
Dtest-net-localport.js16 localPort: common.PORT, property
18 assert.strictEqual(client.localPort, common.PORT);
Dtest-https-connect-localport.js27 localPort: common.PORT, property
30 assert.strictEqual(req.socket.localPort, common.PORT);
/third_party/node/lib/
Dnet.js919 protoGetter('localPort', function localPort() { function
1043 self, address, port, addressType, localAddress, localPort, flags) { argument
1051 if (localAddress || localPort) {
1054 err = self._handle.bind(localAddress, localPort);
1057 err = self._handle.bind6(localAddress, localPort, flags);
1060 localAddress, localPort, addressType);
1062 err = checkBindError(err, localPort, self._handle);
1064 const ex = exceptionWithHostPort(err, 'bind', localAddress, localPort);
1078 req.localPort = localPort;
1122 const { localPort, port, flags } = context;
[all …]
/third_party/node/test/parallel/
Dtest-http-agent-reuse-drained-socket-only.js36 setImmediate(sendSecReq, serverPort, req.socket.localPort);
98 setImmediate(sendThrReq, serverPort, req.socket.localPort);
103 assert.notStrictEqual(sock.localPort, fstReqCliPort);
117 assert.strictEqual(sock.localPort, secReqCliPort);
Dtest-net-localerror.js43 localPort: 'foobar', property
Dtest-net-local-address-port.js29 assert.strictEqual(socket.localPort, this.address().port);
Dtest-net-server-drop-connections.js15 assert.strictEqual(!!data.localPort, true);
Dtest-net-client-bind-twice.js17 localPort: server2.address().port property
Dtest-net-socket-local-address.js38 clientLocalPorts.push(client.localPort);
/third_party/node/deps/undici/src/types/
Dclient.d.ts87 localPort?: number
/third_party/node/test/internet/
Dtest-https-issue-43963.js14 assert.strictEqual(tlsSocket.localPort !== undefined, true);
/third_party/node/deps/undici/src/docs/api/
DErrors.md37 localPort?: number
/third_party/libuv/
DCONTRIBUTING.md101 subsystem (e.g. "net: add localAddress and localPort to Socket").
/third_party/node/deps/uv/
DCONTRIBUTING.md101 subsystem (e.g. "net: add localAddress and localPort to Socket").
/third_party/node/doc/api/
Dnet.md296 * `localPort` {number} Local port.
921 * `localPort` {number} Local port the socket should connect from.
1098 ### `socket.localPort`
Dhttp.md1326 const port = req.socket.localPort;
1341 const port = req.socket.localPort;
3691 * `localPort` {number} Local port to connect from.
Dtls.md1429 ### `tlsSocket.localPort`
/third_party/node/doc/contributing/
Dpull-requests.md174 * `net: add localAddress and localPort to Socket`
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md317 * net: add localPort to connect options (Timothy J Fontaine)
576 * tls: add localAddress and localPort properties (Ben Noordhuis)
795 * net: add localAddress and localPort to Socket (James Hight)
DCHANGELOG_V15.md281 * \[[`a3abd52e1e`](https://github.com/nodejs/node/commit/a3abd52e1e)] - **doc**: add localPort to h…
DCHANGELOG_V11.md503 …s://github.com/nodejs/node/commit/4b6c653d4d)] - **https**: add missing localPort while create soc…
DCHANGELOG_V14.md1499 * \[[`c51a60cd05`](https://github.com/nodejs/node/commit/c51a60cd05)] - **doc**: add localPort to h…
DCHANGELOG_V8.md3083 …dejs/node/commit/67fde146e0)] - **net**: check EADDRINUSE after binding localPort (Joyee Cheung) […
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs5516 localPort: socket.localPort,

12