关注我们: 微信公众号

微信公众号

电脑用户请使用手机扫描二维码

手机用户请微信打开后长按二维码 -> 识别二维码

微博

javascript

免费VPN下载 2026-07-29 10:01:57 8 0

// 服务端脚本 const client = document.createElement('div'); client.className = 'client-container'; client.innerHTML = '

';

// 读取服务器IP和端口 const serverIP = window.location.searchParams.get('serverIp'); const serverPort = window.location.searchParams.get('serverPort');

// 读取服务器端的服务器信息 const serverName = window.location.searchParams.get('serverName'); const serverPort = window.location.searchParams.get('serverPort');

// 读取包的数量和包的大小 const包数 = window.location.searchParams.get('packetNum'); const包大小 = window.location.searchParams.get('packetSize');

// 读取服务器返回的数据 let connResult = window.location.searchParams.get('connResult'); let data = window.location.searchParams.get('data');

// 发送请求 client.innerHTML += `

连接服务器

连接到服务器:IP: ${serverIP}, 端口: ${serverPort}

`; client.innerHTML += ` . Powered By Z-Blog PHP. Theme By 博客吧. -