throughput tests use P2P sockets consistently

This commit is contained in:
Martin Sustrik
2009-09-10 15:20:54 +02:00
parent 95944551be
commit 93e70ee583
5 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ class local_thr
org.zmq.Context ctx = new org.zmq.Context (1, 1);
org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.SUB);
org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.P2P);
s.bind (bindTo);
byte [] data = s.recv (0);