connect({ port: portRemote!, hostname: address, }); vlessResponseHeader = new Uint8Array([vlessVersion![0], 0]); const rawClientData = vlessBuffer.slice(rawDataIndex!); await remoteConnection!.write(new Uint8Array(rawClientData)); remoteConnectionReadyResolve(remoteConnection); }, close()...
connect({ port: portRemote!, hostname: address, }); vlessResponseHeader = new Uint8Array([vlessVersion![0], 0]); const rawClientData = vlessBuffer.slice(rawDataIndex!); await remoteConnection!.write(new Uint8Array(rawClientData)); remoteConnectionReadyResolve(remoteConnection); }, close()...