We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wouldn't it make sense for the clients to use the same port as the server so the examples were runnable against themselves?
Compare the output below:
$ grep connect examples//rrclient|grep -v println examples/C++/rrclient.cpp: requester.connect("tcp://localhost:5559"); examples/C/rrclient.c: zmq_connect (requester, "tcp://localhost:5559"); examples/CL/rrclient.lisp: (zmq:connect requester "tcp://localhost:5559") examples/Erlang/rrclient.es: ok = erlzmq:connect(Requester, "tcp://*:5559"), examples/Haskell/rrclient.hs: connect requester "tcp://localhost:5559" examples/Haxe/rrclient.hx: requester.connect ("tcp://localhost:5559"); examples/Java/rrclient.java: requester.connect("tcp://localhost:5559"); examples/Lua/rrclient.lua:requester:connect("tcp://localhost:5559") examples/PHP/rrclient.php:$requester->connect("tcp://localhost:5559"); examples/Perl/rrclient.pl:$requester->connect('tcp://localhost:5559'); examples/Python/rrclient.py:socket.connect("tcp://localhost:5559") examples/Racket/rrclient.rkt:(socket-connect! sock "tcp://localhost:5559") examples/Ruby/rrclient.rb:socket.connect('tcp://localhost:5559') examples/Scala/rrclient.scala: requester.connect ("tcp://localhost:5559")
$ grep connect examples//rrserver |grep -v println examples/C++/rrserver.cpp: responder.connect("tcp://localhost:5560"); examples/C/rrserver.c: zmq_connect (responder, "tcp://localhost:5560"); examples/CL/rrserver.lisp: (zmq:connect responder "tcp://localhost:5560") examples/Erlang/rrserver.es: ok = erlzmq:connect(Responder, "tcp://*:5560"), examples/Haskell/rrserver.hs: connect responder "tcp://localhost:5560" examples/Haxe/rrserver.hx: responder.connect("tcp://localhost:5560"); examples/Java/rrserver.java: responder.connect("tcp://localhost:5560"); examples/Lua/rrserver.lua:responder:connect("tcp://localhost:5560") examples/PHP/rrserver.php:$responder->connect("tcp://localhost:5560"); examples/Perl/rrserver.pl:$responder->connect('tcp://localhost:5560'); examples/Python/rrserver.py:socket.connect("tcp://localhost:5560") examples/Ruby/rrserver.rb:socket.connect('tcp://localhost:5560') examples/Scala/rrserver.scala: receiver.connect("tcp://localhost:5560")
The text was updated successfully, but these errors were encountered:
The client and server don't talk directly, but go via the broker.
Sorry, something went wrong.
No branches or pull requests
Wouldn't it make sense for the clients to use the same port as the server so the examples were runnable against themselves?
Compare the output below:
$ grep connect examples//rrclient|grep -v println
examples/C++/rrclient.cpp: requester.connect("tcp://localhost:5559");
examples/C/rrclient.c: zmq_connect (requester, "tcp://localhost:5559");
examples/CL/rrclient.lisp: (zmq:connect requester "tcp://localhost:5559")
examples/Erlang/rrclient.es: ok = erlzmq:connect(Requester, "tcp://*:5559"),
examples/Haskell/rrclient.hs: connect requester "tcp://localhost:5559"
examples/Haxe/rrclient.hx: requester.connect ("tcp://localhost:5559");
examples/Java/rrclient.java: requester.connect("tcp://localhost:5559");
examples/Lua/rrclient.lua:requester:connect("tcp://localhost:5559")
examples/PHP/rrclient.php:$requester->connect("tcp://localhost:5559");
examples/Perl/rrclient.pl:$requester->connect('tcp://localhost:5559');
examples/Python/rrclient.py:socket.connect("tcp://localhost:5559")
examples/Racket/rrclient.rkt:(socket-connect! sock "tcp://localhost:5559")
examples/Ruby/rrclient.rb:socket.connect('tcp://localhost:5559')
examples/Scala/rrclient.scala: requester.connect ("tcp://localhost:5559")
$ grep connect examples//rrserver |grep -v println
examples/C++/rrserver.cpp: responder.connect("tcp://localhost:5560");
examples/C/rrserver.c: zmq_connect (responder, "tcp://localhost:5560");
examples/CL/rrserver.lisp: (zmq:connect responder "tcp://localhost:5560")
examples/Erlang/rrserver.es: ok = erlzmq:connect(Responder, "tcp://*:5560"),
examples/Haskell/rrserver.hs: connect responder "tcp://localhost:5560"
examples/Haxe/rrserver.hx: responder.connect("tcp://localhost:5560");
examples/Java/rrserver.java: responder.connect("tcp://localhost:5560");
examples/Lua/rrserver.lua:responder:connect("tcp://localhost:5560")
examples/PHP/rrserver.php:$responder->connect("tcp://localhost:5560");
examples/Perl/rrserver.pl:$responder->connect('tcp://localhost:5560');
examples/Python/rrserver.py:socket.connect("tcp://localhost:5560")
examples/Ruby/rrserver.rb:socket.connect('tcp://localhost:5560')
examples/Scala/rrserver.scala: receiver.connect("tcp://localhost:5560")
The text was updated successfully, but these errors were encountered: