From 4826af957608a54e4492815551f39ac543258fd1 Mon Sep 17 00:00:00 2001 From: jestin Date: Mon, 6 Aug 2001 14:33:34 +0000 Subject: Adding multicast ( IvyWatcher ), adding the new IvyDaemon program, removing the debug code in Probe, and who knows what I've done in IvyClient ? --- src/Probe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Probe.java') diff --git a/src/Probe.java b/src/Probe.java index 5152cda..84e282f 100644 --- a/src/Probe.java +++ b/src/Probe.java @@ -37,8 +37,8 @@ class Probe implements IvyApplicationListener, IvyMessageListener { System.out.println("broadcasting on "+domain); bus.start(domain); String s; - DataInputStream in = - new DataInputStream(new BufferedInputStream(System.in)); + BufferedReader in = + new BufferedReader(new InputStreamReader(System.in)); // infinite loop on keyboard input try { while ((s=in.readLine()).length()!=0) -- cgit v1.1