Skip to content

Instantly share code, notes, and snippets.

@thealmikey
Last active April 5, 2019 17:34
Show Gist options
  • Save thealmikey/0f9c89f6ce071941ae4141199d768d88 to your computer and use it in GitHub Desktop.
Save thealmikey/0f9c89f6ce071941ae4141199d768d88 to your computer and use it in GitHub Desktop.
import org.zeromq.ZMQ
fun main() {
val context = ZMQ.context(1)
val socket = context.socket(ZMQ.REQ)
println("connecting to hello world server...")
socket.connect("tcp://localhost:5897")
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment