Home
last modified time | relevance | path

Searched refs:Socks5HostType (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/npm/node_modules/socks/build/common/
Dconstants.js81 var Socks5HostType; variable
82 (function (Socks5HostType) { argument
83 Socks5HostType[Socks5HostType["IPv4"] = 1] = "IPv4";
84 Socks5HostType[Socks5HostType["Hostname"] = 3] = "Hostname";
85 Socks5HostType[Socks5HostType["IPv6"] = 4] = "IPv6";
86 })(Socks5HostType || (Socks5HostType = {}));
87 exports.Socks5HostType = Socks5HostType;
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js135 buff.writeUInt8(constants_1.Socks5HostType.IPv4);
139 buff.writeUInt8(constants_1.Socks5HostType.IPv6);
143 buff.writeUInt8(constants_1.Socks5HostType.Hostname);
163 if (hostType === constants_1.Socks5HostType.IPv4) {
166 else if (hostType === constants_1.Socks5HostType.IPv6) {
543 buff.writeUInt8(constants_1.Socks5HostType.IPv4);
547 buff.writeUInt8(constants_1.Socks5HostType.IPv6);
551 buff.writeUInt8(constants_1.Socks5HostType.Hostname);
577 if (addressType === constants_1.Socks5HostType.IPv4) {
595 else if (addressType === constants_1.Socks5HostType.Hostname) {
[all …]
/third_party/node/deps/npm/node_modules/socks/typings/common/
Dconstants.d.ts71 declare enum Socks5HostType { enum
141 …T, ERRORS, SocksProxyType, SocksCommand, Socks4Response, Socks5Auth, Socks5HostType, Socks5Respons…