企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 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(); } ~~~