多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## Client::closesocket ###接口说明 >关闭连接 > +++ put:closesocket <<< success 无返回类型 +++ ###代码演示 ~~~ var onConnectFunc(var errno,var desc) { } var onReadFunc(var data) { } var onCloseFunc() { } var main(var thread,var params) { var client = new Client; client.init(thread); client.connect("127.0.0.1",6000); client.bind(onConnectFunc,onReadFunc,onCloseFunc); client.closesocket(); } ~~~