Skip to content

Commit

Permalink
Fixed bad copy/paste in durasub
Browse files Browse the repository at this point in the history
  • Loading branch information
hintjens committed May 20, 2011
1 parent 5ad6ef6 commit 71282f0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions examples/Java/durasub.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,14 +30,4 @@ public static void main(String[] args) {
System.out.println(msg); System.out.println(msg);
} }
} }

} }
socket
ZMQ.Socket subscriber = context.socket(ZMQ.SUB);

// Synchronize with the publisher
ZMQ.Socket sync = context.socket(ZMQ.PUSH);

subscriber.subscribe("".getBytes());
subscriber.connect("tcp://localhost:5565");
sync.connect("tcp://lo

0 comments on commit 71282f0

Please sign in to comment.