Package com.mdraco.chat

Examples of com.mdraco.chat.ConsoleClient.Send()


      try {
        BaseClient c = new ConsoleClient("localhost", port);

        String text = reader.readLine();
        while (!text.equalsIgnoreCase("q") && !text.equalsIgnoreCase("quit")) {
          c.Send(text);
          text = reader.readLine();
        }
        c.Close();
      } catch (IOException e) {
        e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.