你的socket只是初始化,并没有调用连接函数。类似这种socket.connect(socketAddr, 5000);//才表示开始连接。例子可以网上搜
80,351
社区成员
91,288
社区内容
加载中
试试用AI创作助手写篇文章吧