From 2cdb1cdcfe6b2c7c4b3b0eb32e12b516678b901e Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:45:59 +0000 Subject: Utilisateur : Fcolin Date : 17/06/03 Heure : 18:52 Archivé dans $/EScribe/Ivy Commentaire: (vss 2) --- CSharp/Ivy/Ivy/IvyClient.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs index 532fdd5..d4b0489 100644 --- a/CSharp/Ivy/Ivy/IvyClient.cs +++ b/CSharp/Ivy/Ivy/IvyClient.cs @@ -154,16 +154,15 @@ namespace IvyBus clientKey = clientSerial++; in_stream = new StreamReader(socket.GetStream(),System.Text.Encoding.ASCII); out_stream = new StreamWriter(socket.GetStream(),System.Text.Encoding.ASCII); - Hashtable regexps = bus.regexp_out; // sends our ID, whether we initiated the connexion or not // the ID is the couple "host name,application Port", the host name // information is in the socket itself, the port is not known if we // initiate the connexion send(MessageType.StartRegexp, bus.applicationPort, bus.appName); // sends our regexps to the peer - foreach (Int32 ikey in regexps.Keys ) + foreach (Int32 ikey in bus.regexp_out.Keys ) { - sendRegexp(ikey, (String) regexps[ikey]); + sendRegexp(ikey, (String) bus.regexp_out[ikey]); } send(MessageType.EndRegexp, 0, ""); // spawns a thread to manage the incoming traffic on this -- cgit v1.1