Interface ServerSocket

    • Method Detail

      • getProtocol

        Net.Protocol getProtocol()
        Returns:
        the Protocol used by this socket
      • accept

        Socket accept​(SocketHints hints)
        Accepts a new incoming connection from a client Socket. The given hints will be applied to the accepted socket. Blocking, call on a separate thread.
        Parameters:
        hints - additional SocketHints applied to the accepted Socket. Input null to use the default setting provided by the system.
        Returns:
        the accepted Socket
        Throws:
        GdxRuntimeException - in case an error occurred