Browse files

removed rest of http example

  • Loading branch information...
1 parent 2bb60d2 commit 19594c78297ffe5ab4716d6ea0fbcc2687465068 @tj tj committed Apr 13, 2012
Showing with 0 additions and 17 deletions.
  1. +0 −17 examples/http/broker.js
View
17 examples/http/broker.js
@@ -1,17 +0,0 @@
-
-var zmq = require('../../')
- , router = zmq.socket('router')
- , dealer = zmq.socket('dealer');
-
-router.on('message', function(){
- dealer.send(Array.apply(arguments));
-});
-
-dealer.on('message', function(){
- router.send(Array.apply(arguments));
-});
-
-router.bind('tcp://127.0.0.1:5000');
-dealer.bind('tcp://127.0.0.1:5001');
-console.log('router bound to :5000');
-console.log('dealer bound to :5001');

0 comments on commit 19594c7

Please sign in to comment.