社区
下载资源悬赏专区
帖子详情
AsyncSocket下载
weixin_39821051
2019-08-20 01:00:30
这是7.0.x版本的asyncsocket
相关下载链接:
//download.csdn.net/download/srjzcar/5268186?utm_source=bbsseo
...全文
8
回复
打赏
收藏
AsyncSocket下载
这是7.0.x版本的asyncsocket 相关下载链接://download.csdn.net/download/srjzcar/5268186?utm_source=bbsseo
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
IOS
Async
Socket
Async
Socket
是一个用Object-c封装好的网络通讯API,调用方便,容易实现 使用
Async
Socket
可以很方便的与其它系统进行
Socket
通信,
Async
Socket
包括TCP和UDP,通过实现委托
Async
Socket
Delegate进行交互。 首先,调用此API时需先引入CFNetWork.framework 然后在#import "
Async
Socket
.h"就可以直接调用了.
ios
socket
Async
Socket
使用
NULL 博文链接:https://zxs19861202.iteye.com/blog/2064736
支持ARC的
Async
Socket
类
下载
支持ARC的
Async
Socket
类
下载
Async
Socket
源文件
Async
Socket
源文件 的工具文件
async
socket
/** * In the event of an error, the
socket
is closed. * You may call "unreadData" during this call-back to get the last bit of data off the
socket
. * When connecting, this delegate method may be called * before"on
Socket
:didAcceptNew
Socket
:" or "on
Socket
:didConnectToHost:". **/ - (void)on
Socket
:(
Async
Socket
*)sock willDisconnectWithError:(NSError *)err; /** * Called when a
socket
disconnects with or without error. If you want to release a
socket
after it disconnects, * do so here. It is not safe to do that during "on
Socket
:willDisconnectWithError:". * * If you call the disconnect method, and the
socket
wasn't already disconnected, * this delegate method will be called before the disconnect method returns. **/ - (void)on
Socket
DidDisconnect:(
Async
Socket
*)sock; /** * Called when a
socket
accepts a connection. Another
socket
is spawned to handle it. The new
socket
will have * the same delegate and will call "on
Socket
:didConnectToHost:port:". **/ - (void)on
Socket
:(
Async
Socket
*)sock didAcceptNew
Socket
:(
Async
Socket
*)new
Socket
; /** * Called when a new
socket
is spawned to handle a connection. This method should return the run-loop of the * thread on which the new
socket
and its delegate should operate. If omitted, [NSRunLoop currentRunLoop] is used. **/ - (NSRunLoop *)on
Socket
:(
Async
Socket
*)sock wantsRunLoopForNew
Socket
:(
Async
Socket
*)new
Socket
;
下载资源悬赏专区
12,781
社区成员
12,309,925
社区内容
发帖
与我相关
我的任务
下载资源悬赏专区
CSDN 下载资源悬赏专区
复制链接
扫一扫
分享
社区描述
CSDN 下载资源悬赏专区
其他
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章