Class FileClient


  • public class FileClient
    extends java.lang.Object
    Client for echo var.sockets.tcp.filer.FileServer* service. Verbindet sich mit Server, empfängt dann zeilenweise vom Server und gibt auf der Konsole aus, was empfangen wurde. Empfängt und gibt so lange aus, bis der Server die Kommunikation beendet und den Socket schließt.
    Author:
    Sandro Leuchter
    • Constructor Summary

      Constructors 
      Constructor Description
      FileClient()  
    • 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)