iOS Socket 使用Demo

上传者: u013282507 | 上传时间: 2021-05-30 15:35:55 | 文件大小: 260KB | 文件类型: ZIP
利用GCDAsyncSocket实现的socket简单使用,并处理丢包问题

文件下载

资源详情

[{"title":"( 85 个子文件 260KB ) iOS Socket 使用Demo","children":[{"title":"SocketDemo","children":[{"title":"SocketControl","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Socket.h <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"SocketModel.h <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"DataControl.m <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"Socket.m <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"ReconnectControl.h <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"PrefixHeader.pch <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"SocketModel.m <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"DataControl.h <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"ReconnectControl.m <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Utils","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"MJExtension","children":[{"title":"MJProperty.m <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"NSObject+MJCoding.m <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"MJFoundation.h <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"MJPropertyKey.m <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"NSString+MJExtension.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"NSObject+MJProperty.h <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"MJPropertyKey.h <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"MJPropertyType.m <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"MJProperty.h <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"MJExtension.h <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"MJExtensionConst.h <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"NSObject+MJClass.h <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"NSObject+MJProperty.m <span style='color:#111;'> 9.62KB </span>","children":null,"spread":false},{"title":"NSObject+MJClass.m <span style='color:#111;'> 5.24KB </span>","children":null,"spread":false},{"title":"MJPropertyType.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"MJExtensionConst.m <span style='color:#111;'> 885B </span>","children":null,"spread":false},{"title":"NSObject+MJCoding.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"NSObject+MJKeyValue.h <span style='color:#111;'> 10.44KB </span>","children":null,"spread":false},{"title":"MJFoundation.m <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"NSObject+MJKeyValue.m <span style='color:#111;'> 24.79KB </span>","children":null,"spread":false},{"title":"NSString+MJExtension.m <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"AFNetworking","children":[{"title":"AFURLSessionManager.h <span style='color:#111;'> 29.36KB </span>","children":null,"spread":false},{"title":"AFSecurityPolicy.h <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"AFSecurityPolicy.m <span style='color:#111;'> 12.68KB </span>","children":null,"spread":false},{"title":"AFNetworking.h <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"AFNetworkReachabilityManager.h <span style='color:#111;'> 7.88KB </span>","children":null,"spread":false},{"title":"AFURLResponseSerialization.h <span style='color:#111;'> 11.95KB </span>","children":null,"spread":false},{"title":"AFNetworkReachabilityManager.m <span style='color:#111;'> 9.65KB </span>","children":null,"spread":false},{"title":"UIKit+AFNetworking","children":[{"title":"UIProgressView+AFNetworking.h <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"UIActivityIndicatorView+AFNetworking.m <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false},{"title":"UIKit+AFNetworking.h <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"AFImageDownloader.m <span style='color:#111;'> 17.18KB </span>","children":null,"spread":false},{"title":"UIImageView+AFNetworking.m <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"UIImage+AFNetworking.h <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"UIActivityIndicatorView+AFNetworking.h <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"AFNetworkActivityIndicatorManager.m <span style='color:#111;'> 9.52KB </span>","children":null,"spread":false},{"title":"AFImageDownloader.h <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false},{"title":"UIProgressView+AFNetworking.m <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false},{"title":"UIRefreshControl+AFNetworking.h <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"UIRefreshControl+AFNetworking.m <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"AFAutoPurgingImageCache.h <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"AFNetworkActivityIndicatorManager.h <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"UIButton+AFNetworking.h <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"UIButton+AFNetworking.m <span style='color:#111;'> 12.54KB </span>","children":null,"spread":false},{"title":"UIImageView+AFNetworking.h <span style='color:#111;'> 5.81KB </span>","children":null,"spread":false},{"title":"AFAutoPurgingImageCache.m <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false},{"title":"UIWebView+AFNetworking.m <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false},{"title":"UIWebView+AFNetworking.h <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"AFURLSessionManager.m <span style='color:#111;'> 53.86KB </span>","children":null,"spread":false},{"title":"AFURLResponseSerialization.m <span style='color:#111;'> 27.84KB </span>","children":null,"spread":false},{"title":"AFHTTPSessionManager.m <span style='color:#111;'> 14.90KB </span>","children":null,"spread":false},{"title":"AFURLRequestSerialization.h <span style='color:#111;'> 21.30KB </span>","children":null,"spread":false},{"title":"AFURLRequestSerialization.m <span style='color:#111;'> 50.16KB </span>","children":null,"spread":false},{"title":"AFHTTPSessionManager.h <span style='color:#111;'> 19.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"GCDAsyncSocket","children":[{"title":"GCDAsyncUdpSocket.m <span style='color:#111;'> 130.20KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"GCDAsyncSocket.h <span style='color:#111;'> 57.98KB </span>","children":null,"spread":false},{"title":"GCDAsyncUdpSocket.h <span style='color:#111;'> 45.78KB </span>","children":null,"spread":false},{"title":"GCDAsyncSocket.m <span style='color:#111;'> 220.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SocketDemo","children":[{"title":"ViewController.m <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"LaunchScreen.storyboard <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Main.storyboard <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false}],"spread":true},{"title":"ViewController.h <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"AppDelegate.h <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"Assets.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AppDelegate.m <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"SocketDemo.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"Apple.xcuserdatad","children":[{"title":"UserInterfaceState.xcuserstate <span style='color:#111;'> 15.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"xcuserdata","children":[{"title":"Apple.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"xcschememanagement.plist <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"SocketDemo.xcscheme <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 36.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • pp420 :
    很好用的,方便很多,感谢分享
    2020-11-17
  • a5230306 :
    很好用,方便很多,感谢分享
    2019-01-08
  • SCART :
    it is a good demo for sending message.
    2018-12-20
  • mmorss :
    said again or else can not download
    2017-12-30
  • jiangxigui0272 :
    have a try I am a little white!
    2017-09-29

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明