After getting knocked over by the flu (or something heinous anyway), I 
managed to get my Java (JeroMQ) app to talk to Julia (ZMQ) using ZeroMQ. I 
needed to make some minor changes to the example code though, but it was 
still helpful. Thanks! Here is the revised "Hello World" server:

using ZMQ

# Hello world server

ctx = Context(1)
responder = Socket(ctx, REP)
ZMQ.bind(responder, "tcp://*:5555")
while true
  buffer = ZMQ.recv(responder)
  println("Received Hello")
  sleep(1)
  ZMQ.send(responder, "World")
end




On Friday, December 19, 2014 1:04:16 AM UTC+8, Jake Bolewski wrote:
>
> I have some examples in my fork of ZMQ.jl here 
> https://github.com/jakebolewski/ZMQ.jl.   I don't know  if they will work 
> on the latest  ZMQ master.
>
>
>

Reply via email to