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

@@ -36,7 +36,7 @@ class remote_thr
org.zmq.Context ctx = new org.zmq.Context (1, 1);
org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.PUB);
org.zmq.Socket s = new org.zmq.Socket (ctx, org.zmq.Socket.P2P);
s.connect (connectTo);
byte msg [] = new byte [messageSize];