Remove outdated ZeroMQ example (zmq has been moved out of the stdlib)

This commit is contained in:
Erwan Ameil
2014-08-30 20:42:40 +02:00
parent 3a00692ef8
commit 7dac395cb2
2 changed files with 0 additions and 25 deletions

View File

@@ -1,14 +0,0 @@
import zmq
var connection = zmq.open("tcp://localhost:5555", server=false)
echo("Connecting...")
for i in 0..10:
echo("Sending hello...", i)
send(connection, "Hello")
var reply = receive(connection)
echo("Received ...", reply)
close(connection)

View File

@@ -1,11 +0,0 @@
import zmq
var connection = zmq.open("tcp://*:5555", server=true)
while True:
var request = receive(connection)
echo("Received: ", request)
send(connection, "World")
close(connection)