Kleine Modifikation
This commit is contained in:
parent
1f2d46acdf
commit
d7bbfdea2b
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@ public class Client1 {
|
||||||
oboust.flush();
|
oboust.flush();
|
||||||
|
|
||||||
// Message erhalten
|
// Message erhalten
|
||||||
Object erhalten = obinstr.readObject();
|
|
||||||
|
Object erhalten = null;
|
||||||
|
while(erhalten==null){
|
||||||
|
erhalten = obinstr.readObject();
|
||||||
|
}
|
||||||
System.out.println(erhalten);
|
System.out.println(erhalten);
|
||||||
|
|
||||||
oboust.close();
|
oboust.close();
|
||||||
|
|
Loading…
Reference in a new issue