From MAILER-DAEMON Tue May 8 15:46:30 2001 Date: 08 May 2001 15:46:30 +0200 From: Mail System Internal Data Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Message-ID: <989329590@userv2> X-IMAP: 0988361393 0000000017 Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. From mai99dnn@ilabws.informatik.uni-leipzig.de Fri Apr 27 09:57 MET 2001 Received: from ilabws03.informatik.uni-leipzig.de (ilabws03.informatik.uni-leipzig.de [139.18.13.67]) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) with ESMTP id JAA10772 for ; Fri, 27 Apr 2001 09:57:41 +0200 (MET DST) Received: (from mai99dnn@localhost) by ilabws03.informatik.uni-leipzig.de (8.9.3+Sun/8.9.1) id JAA26623 for mai99dgf; Fri, 27 Apr 2001 09:57:40 +0200 (MET DST) Date: Fri, 27 Apr 2001 09:57:40 +0200 (MET DST) From: Patrick Scheibe Message-Id: <200104270757.JAA26623@ilabws03.informatik.uni-leipzig.de> Subject: Nochmal Hallo Content-Type: text Content-Length: 12 Status: RO X-Status: X-Keywords: X-UID: 1 also hallo From root Sun Apr 15 01:26 MET 2001 Received: (from root@localhost) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) id BAA01963 for mai99dgf; Sun, 15 Apr 2001 01:26:05 +0200 (MET DST) Date: Sun, 15 Apr 2001 01:26:05 +0200 (MET DST) From: Super-User Message-Id: <200104142326.BAA01963@ilabws.informatik.uni-leipzig.de> Content-Type: text Content-Length: 62 Status: RO X-Status: X-Keywords: X-UID: 3 Ihr habt auf ilabws mit 24917 KB viel Plattenspeicher belegt From mai99dgf@isun.informatik.uni-leipzig.de Fri Apr 27 09:22 MET 2001 Received: from news.uni-leipzig.de (root@news.uni-leipzig.de [139.18.25.3]) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) with ESMTP id JAA10373 for ; Fri, 27 Apr 2001 09:22:45 +0200 (MET DST) Received: from userv1.informatik.uni-leipzig.de (userv1.informatik.uni-leipzig.de [139.18.13.221]) by news.uni-leipzig.de (8.9.3/8.9.3) with ESMTP id JAA25800 for ; Fri, 27 Apr 2001 09:22:17 +0200 (METDST) Received: from localhost (mai99dgf@localhost) by userv1.informatik.uni-leipzig.de (8.9.3+Sun/8.9.3) with ESMTP id JAA22934 for ; Fri, 27 Apr 2001 09:22:43 +0200 (MEST) Date: Fri, 27 Apr 2001 09:22:43 +0200 (MEST) From: Georg Martius To: mai99dgf@userv1.informatik.uni-leipzig.de Subject: test Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Length: 6 Status: RO X-Status: X-Keywords: X-UID: 5 test From mai99dnn@isun.informatik.uni-leipzig.de Fri Apr 27 09:32 MET 2001 Received: from news.uni-leipzig.de (root@news.uni-leipzig.de [139.18.25.3]) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) with ESMTP id JAA10477 for ; Fri, 27 Apr 2001 09:32:02 +0200 (MET DST) Received: from userv1.informatik.uni-leipzig.de (userv1.informatik.uni-leipzig.de [139.18.13.221]) by news.uni-leipzig.de (8.9.3/8.9.3) with ESMTP id JAA26123 for ; Fri, 27 Apr 2001 09:31:34 +0200 (METDST) Received: (from mai99dnn@localhost) by userv1.informatik.uni-leipzig.de (8.9.3+Sun/8.9.3) id JAA23426 for mai99dgf@userv1; Fri, 27 Apr 2001 09:31:59 +0200 (MEST) Date: Fri, 27 Apr 2001 09:31:59 +0200 (MEST) From: Patrick Scheibe Message-Id: <200104270731.JAA23426@userv1.informatik.uni-leipzig.de> To: undisclosed-recipients:; Content-Type: text Content-Length: 15 Status: RO X-Status: X-Keywords: X-UID: 6 Hallo du Null From root Sun Apr 29 01:27 MET 2001 Received: (from root@localhost) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) id BAA04512 for mai99dgf; Sun, 29 Apr 2001 01:27:22 +0200 (MET DST) Date: Sun, 29 Apr 2001 01:27:22 +0200 (MET DST) From: Super-User Message-Id: <200104282327.BAA04512@ilabws.informatik.uni-leipzig.de> Content-Type: text Content-Length: 62 Status: RO X-Status: X-Keywords: X-UID: 8 Ihr habt auf ilabws mit 25261 KB viel Plattenspeicher belegt From root Sun May 6 01:27 MET 2001 Received: (from root@localhost) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) id BAA24704 for mai99dgf; Sun, 6 May 2001 01:27:49 +0200 (MET DST) Date: Sun, 6 May 2001 01:27:49 +0200 (MET DST) From: Super-User Message-Id: <200105052327.BAA24704@ilabws.informatik.uni-leipzig.de> Content-Type: text Content-Length: 62 Status: RO X-Status: X-Keywords: X-UID: 16 Ihr habt auf ilabws mit 40851 KB viel Plattenspeicher belegt From mai99dgf@studserv.uni-leipzig.de Tue May 8 10:34 MET 2001 Received: from ilabws13.informatik.uni-leipzig.de (ilabws13.informatik.uni-leipzig.de [139.18.13.77]) by ilabws.informatik.uni-leipzig.de (8.8.8/8.8.8) with ESMTP id KAA24411 for ; Tue, 8 May 2001 10:34:30 +0200 (MET DST) Received: from studserv.uni-leipzig.de (studserv.uni-leipzig.de [139.18.1.15]) by ilabws13.informatik.uni-leipzig.de (8.9.3+Sun/8.9.1) with ESMTP id KAA22216 for ; Tue, 8 May 2001 10:34:30 +0200 (MET DST) Received: from studserv.uni-leipzig.de (pec-160-176.tnt9.b2.uunet.de [149.225.160.176]) by studserv.uni-leipzig.de (8.9.3/8.9.3) with ESMTP id KAA08692 for ; Tue, 8 May 2001 10:33:57 +0200 Sender: georg@studserv.uni-leipzig.de Message-ID: <3AF7AFB3.4C41EF13@studserv.uni-leipzig.de> Date: Tue, 08 May 2001 10:34:59 +0200 From: Georg Martius X-Mailer: Mozilla 4.76 [de] (X11; U; Linux 2.4.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: mai99dgf@ilabws13.informatik.uni-leipzig.de Subject: [Fwd: cnctClient] Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Content-Length: 3003 Status: RO X-Status: X-Keywords: X-UID: 17 Johannes Waldmann wrote: > > > So jetzt sollte der Client funktionieren. (Bei mir gings) > > OK. jedenfalls, naja. Bei mir sind immer noch einige Zeichen verschwunden. > Wie ist denn Eure Meinung zu den Timeouts (siehe meine Mail von gestern) > Ich denke nicht, daß es eine gute Idee ist, bei jedem read > einen New BufferedReader herzustellen. Siehe patch. > > Die Farben sind auch immer noch falschrum (der erste spieler hat schwarz) > > *** client/cnctSocket/lineSocket.java Sun May 6 17:49:57 2001 > --- 0507/cnctSocket/lineSocket.java Tue May 8 08:27:39 2001 > *************** > *** 7,10 **** > --- 7,12 ---- > Descript: Klasse zum schreiben und lesen auf einem Socket (Zeilenbasiert) > last mod: Mon Apr 30 23:28:27 CEST 2001 > + > + + Änderungen von joe@informatik.uni-leipzig.de > */ > > *************** > *** 70,74 **** > sock= new Socket(hostname, port); > System.out.println("Client gebunden an lokalen Port:" + sock.getLocalPort()); > ! sock.setSoTimeout(100); > sockin = new BufferedReader(new InputStreamReader(sock.getInputStream())); > sockout = new PrintWriter( sock.getOutputStream(), true); > --- 72,76 ---- > sock= new Socket(hostname, port); > System.out.println("Client gebunden an lokalen Port:" + sock.getLocalPort()); > ! sock.setSoTimeout(0); > sockin = new BufferedReader(new InputStreamReader(sock.getInputStream())); > sockout = new PrintWriter( sock.getOutputStream(), true); > *************** > *** 102,117 **** > if(isinit==false) return; > > ! try{ > ! PrintWriter sockout = new PrintWriter(sock.getOutputStream(),true); > ! sockout.println(tosend); > ! } > ! catch (IOException ioe){ > ! ioe.printStackTrace(); > ! System.out.println("lineSocket::read: IOExecption"); > ! } > ! // catch (InterruptedIOException iioe){ //keine Ausgabe bei Timeout > ! // } > ! } > ! > // liest eine Zeile vom Socket > // Return: gelesener String; Nullstring bei Fehler > --- 104,110 ---- > if(isinit==false) return; > > ! sockout.println(tosend); > ! } > ! > // liest eine Zeile vom Socket > // Return: gelesener String; Nullstring bei Fehler > *************** > *** 123,133 **** > if(isinit==false) return ""; > > - try{ > - BufferedReader sockin=new BufferedReader(new InputStreamReader(sock.getInputStream()) ); > - }catch(IOException ioe){ > - ioe.printStackTrace(); > - System.out.println("lineSocket::close: IOException"); > - } > - > try{ > return sockin.readLine(); > --- 116,119 ---- > > -- > -- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ -- > -- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/252 --