Class EchoClient


  • public class EchoClient
    extends java.lang.Object
    Client for echo var.sockets.tcp.echo.EchoServer* service. Liest zeilenweise von der Console und sendet zum Server. Der Server sendet eine Zeichenkette zurück, die auf der Konsole ausgegeben wird.
    Author:
    Sandro Leuchter
    • Constructor Summary

      Constructors 
      Constructor Description
      EchoClient()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      main method: entrypoint to run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        main method: entrypoint to run
        Parameters:
        args - address of service to connect to (must be String[0]: host (IP-address or DNS hostname), String[1]: port)