- 授权协议: Apache
- 开发语言: Objective-C Ruby
- 操作系统: OS X
- 软件首页: https://github.com/acmacalister/jetfire
软件介绍
jetfire 是使用 Objective-C 实现了 iOS 和 OS X 的 Websockets(RFC 6455)。
同时还有个 Swift 版本的:starscream
特性:
符合所有基础的 Autobahn 测试套件.
非阻塞。所有都在后台运行
简单的委托模式设计
TLS/WSS 支持
几百行简单的 LOC 代码
示例:
/////////////////////////////////////////////////////////////////////////////
-(void)websocketDidConnect:(JFWebSocket*)socket
{
NSLog(@"websocket is connected");
}
/////////////////////////////////////////////////////////////////////////////
-(void)websocketDidDisconnect:(JFWebSocket*)socket error:(NSError*)error
{
NSLog(@"websocket is disconnected: %@",[error localizedDescription]);
}
/////////////////////////////////////////////////////////////////////////////
-(void)websocket:(JFWebSocket*)socket didReceiveMessage:(NSString*)string
{
NSLog(@"got some text: %@",string);
dispatch_async(dispatch_get_main_queue(),^{
//do some UI work
});
}
/////////////////////////////////////////////////////////////////////////////
-(void)websocket:(JFWebSocket*)socket didReceiveData:(NSData*)data
{
NSLog(@"got some binary data: %d",data.length);
}
Windows核心编程(第5版)
Jeffrey Richter、Christophe Nasarre / 葛子昂、周靖、廖敏 / 清华大学出版社 / 2008-9 / 99.00元
这是一本经典的Windows核心编程指南,从第1版到第5版,引领着数十万程序员走入Windows开发阵营,培养了大批精英。. 作为Windows开发人员的必备参考,本书是为打算理解Windows的C和C++程序员精心设计的。第5版全面覆盖Windows XP,Windows Vista和Windows Server 2008中的170个新增函数和Windows特性。书中还讲解了Windows......一起来看看 《Windows核心编程(第5版)》 这本书的介绍吧!
