Class Sockets


  • public final class Sockets
    extends java.lang.Object
    Common things for socket communication.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Sockets.SockAddr
      Very simple representation of the C SockAddr type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int AF_UNIX
      Domain for Unix domain sockets.
      static int DEFAULT_PROTOCOL
      Default protocol selector.
      static int SOCK_STREAM
      Socket type for duplex sockets.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Sockets()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • AF_UNIX

        public static final int AF_UNIX
        Domain for Unix domain sockets.
        See Also:
        Constant Field Values
      • SOCK_STREAM

        public static final int SOCK_STREAM
        Socket type for duplex sockets.
        See Also:
        Constant Field Values
      • DEFAULT_PROTOCOL

        public static final int DEFAULT_PROTOCOL
        Default protocol selector.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Sockets

        private Sockets()