- 授权协议: MIT
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/AlwaysRightInstitute/SwiftSockets
- 软件文档: https://github.com/AlwaysRightInstitute/SwiftSockets
软件介绍
SwiftSockets 是一个简单的 Swift Socket 封装库。
服务器端:
let socket = PassiveSocket(address: sockaddr_in(port: 4242)) socket.listen(dispatch_get_global_queue(0, 0), backlog: 5) { println("Wait, someone is attempting to talk to me!") $0.close() println("All good, go ahead!") }
客户端:
let socket = ActiveSocket().onRead { let (count, block, errno) = $0.read() if count < 1 { println("EOF, or great error handling \(errno).") return } println("Answer to ring,ring is: \(count) bytes: \(block)") } socket.connect("127.0.0.1:80") { socket.write("Ring, ring!\r\n") }
Bulletproof Web Design
Dan Cederholm / New Riders Press / 28 July, 2005 / $39.99
No matter how visually appealing or packed with content a Web site is, it isn't succeeding if it's not reaching the widest possible audience. Designers who get this guide can be assured their Web site......一起来看看 《Bulletproof Web Design》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
html转js在线工具
html转js在线工具