ZeroMQ是Swift 3的0mq绑定。-Swift开发

时间:2021-05-27 06:19:13
【文件属性】:
文件名称:ZeroMQ是Swift 3的0mq绑定。-Swift开发
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-27 06:19:13
Swift Miscellaneous ZeroMQ是Swift 3的0mq绑定。ZeroMQ ZeroMQ是Swift 3的0mq绑定。功能上下文套接字消息轮询代理## Example import ZeroMQ let context = try Context()let inbound = try context.socket(.Pull)try inbound .bind(“ tcp://127.0.0.1:5555”)let outbound = try context.socket(.Push)try outbound.connect(“ tcp://127.0.0.1:5555”)try outbound.sendString(“ Hello World!”)尝试outbound.sendString(“ Bye!”),而让data =试试inbound.receiveString(),其中data!=“ Bye!” {print(data)//“您好,Wor
【文件预览】:
ZeroMQ-master
----.gitignore(486B)
----Sources()
--------Context.swift(5KB)
--------Proxy.swift(1KB)
--------Poller.swift(3KB)
--------Message.swift(4KB)
--------CURVE.swift(1KB)
--------Error.swift(1KB)
--------Socket.swift(21KB)
----.travis.yml(887B)
----LICENSE(1KB)
----setup_env.sh(353B)
----.swift-version(4B)
----README.md(3KB)
----Package.swift(187B)
----Tests()
--------LinuxMain.swift(119B)
--------MainTests()

网友评论