From db1b608ab03190def265d6d85c2f46789d222e70 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:57:25 +0000 Subject: Utilisateur : Fcolin Date : 17/06/03 Heure : 18:52 Archivé dans $/EScribe/Ivy Commentaire: (vss 2) --- CSharp/Ivy/IvyPPC/IvyClient.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs index 532fdd5..d4b0489 100644 --- a/CSharp/Ivy/IvyPPC/IvyClient.cs +++ b/CSharp/Ivy/IvyPPC/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