Searched refs:Socks5HostType (Results 1 – 3 of 3) sorted by relevance
81 var Socks5HostType; variable82 (function (Socks5HostType) { argument83 Socks5HostType[Socks5HostType["IPv4"] = 1] = "IPv4";84 Socks5HostType[Socks5HostType["Hostname"] = 3] = "Hostname";85 Socks5HostType[Socks5HostType["IPv6"] = 4] = "IPv6";86 })(Socks5HostType || (Socks5HostType = {}));87 exports.Socks5HostType = Socks5HostType;
135 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 …]
71 declare enum Socks5HostType { enum141 …T, ERRORS, SocksProxyType, SocksCommand, Socks4Response, Socks5Auth, Socks5HostType, Socks5Respons…