摘要: 一、GCDAsyncSocket的核心就是dispatch_source_set_event_handler 1.accpet回调 2.read,write回调 二,缓存区 1.创建 GCDAsyncReadPacket没有传入buffer,则readpacket没有缓冲区,socket可读时会放入 阅读全文
posted @ 2016-12-01 21:47 lianhuaren 阅读(1270) 评论(0) 推荐(0) 编辑