Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

listen on tcp, fuck IPC

  • Loading branch information...
commit 10820db02eb9a0aca6fb185ecff3dabc0220e353 1 parent bb45612
@revmischa revmischa authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 templates/pubsub.pl.erb
View
6 templates/pubsub.pl.erb
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.