callback based handlers for working with raw TCP/UDP socket, ZeroMQ sockets, or HTTP client/server. Socket connect/listen URI's Different types of sockets can now be created from URI strings like tcp://localhost:1234/ or tls:/localhost:443/?key=examples/localhost.key&cert=examples/localhost...
一:网上查阅在release情况下指针释放问题,修改如下(并没有解决问题) staticvoidMyCFReadStreamCallback(CFReadStreamRef stream,CFStreamEventType type,void*pInfo){@autoreleasepool{AsyncSocket*theSocket=[[AsyncSocket alloc]init];theSocket=(__bridge AsyncSocket*)pInfo;[theSocket doCFReadStreamCallback:type ...