Class SocketClient1


  • public class SocketClient1
    extends java.lang.Object
    This application uses a SocketAppender that log messages to a server on a host and port specified by the user. It waits for the user to type a message which will be sent to the server.
    • Constructor Summary

      Constructors 
      Constructor Description
      SocketClient1()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      (package private) static void usage​(java.lang.String msg)  
      • Methods inherited from class java.lang.Object

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

      • SocketClient1

        public SocketClient1()
    • Method Detail

      • usage

        static void usage​(java.lang.String msg)
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception