Interface Socket

    • Method Detail

      • isConnected

        boolean isConnected()
        Returns:
        whether the socket is connected
      • getInputStream

        java.io.InputStream getInputStream()
        Returns:
        the InputStream used to read data from the other end of the connection.
      • getOutputStream

        java.io.OutputStream getOutputStream()
        Returns:
        the OutputStream used to write data to the other end of the connection.
      • getRemoteAddress

        java.lang.String getRemoteAddress()
        Returns:
        the RemoteAddress of the Socket as String