Interface NetworkConnection

    • Method Detail

      • getLocalAddress

        java.net.InetAddress getLocalAddress()
        Retrieve the local host.
        Returns:
        the client socket address.
      • getLocalPort

        int getLocalPort()
        Retrieve the local port number.
        Returns:
        the client socket port number
      • getAddress

        java.net.InetAddress getAddress()
        Retrieve address of peer.
      • getPort

        int getPort()
        Retrieve port number of peer.