Skip to content

Instantly share code, notes, and snippets.

@thealmikey
Last active April 5, 2019 17:23
Show Gist options
  • Save thealmikey/a7c78065c1a1ca3f4634e59cabc70487 to your computer and use it in GitHub Desktop.
Save thealmikey/a7c78065c1a1ca3f4634e59cabc70487 to your computer and use it in GitHub Desktop.
fun main() {
val context = ZMQ.context(1)
val socket = context.socket(ZMQ.REP)
println("Starting the server...")
socket.bind("tcp://*:5897")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment