在将ping数据包写入服务器时触发。
socket.on('ping',()=>{ // ... })
socket.on('ping',()=>{
// ...
})
若有收获,就点个赞吧
0 人点赞
让时间为你证明