diff Messaging/Client/UI/MainWindow.xaml.cs @ 34:874e51b94623

ZeroMq uses different style of address for client and server
author adminsh@apollo
date Thu, 22 Mar 2012 08:42:03 +0000
parents 7d9de5746f18
children
line wrap: on
line diff
--- a/Messaging/Client/UI/MainWindow.xaml.cs	Thu Mar 22 08:11:42 2012 +0000
+++ b/Messaging/Client/UI/MainWindow.xaml.cs	Thu Mar 22 08:42:03 2012 +0000
@@ -77,7 +77,7 @@
                                           using (var ctx = new ZMQ.Context(1))
                                           {
                                               var socket = ctx.Socket(ZMQ.REQ);
-                                              socket.Connect("tcp://localhost:5555");
+                                              socket.Connect(Settings.ZeroMqClientAddress);
 
                                               for (var i = 0; i < MessageCount; i++)
                                               {