Permalink
Browse files

listen on tcp, fuck IPC

  • Loading branch information...
1 parent bb45612 commit 10820db02eb9a0aca6fb185ecff3dabc0220e353 @revmischa revmischa committed Mar 26, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 templates/pubsub.pl.erb
View
@@ -6,8 +6,10 @@ use strict;
use ZeroMQ::PubSub::Server;
my $server = ZeroMQ::PubSub::Server->new(
- publish_addrs => [ 'ipc:///tmp/local_pub.sock' ],
- subscribe_addrs => [ 'ipc:///tmp/local_sub.sock' ],
+# publish_addrs => [ 'ipc:///tmp/local_pub.sock' ],
+# subscribe_addrs => [ 'ipc:///tmp/local_sub.sock' ],
+ publish_addrs => [ 'tcp://0.0.0.0:9001' ],
+ subscribe_addrs => [ 'tcp://0.0.0.0:9000' ],
);
$server->run;

0 comments on commit 10820db

Please sign in to comment.