Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getHostAddress (0.42 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            do {
    /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied
                if (localAddr == null) {
                    socket = new Socket( address.getHostAddress(), 139 );
                } else {
                    socket = new Socket( address.getHostAddress(), 139, localAddr, localPort );
                }
                socket.setSoTimeout( SO_TIMEOUT );
    */
    
                socket = new Socket();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

         * 
         * @return the ip address
         */
        @Override
        public String getHostAddress () {
            if ( this.addr instanceof NbtAddress ) {
                return ( (NbtAddress) this.addr ).getHostAddress();
            }
            return ( (InetAddress) this.addr ).getHostAddress();
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws UnknownHostException
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                @Override
                public int compare ( Address o1, Address o2 ) {
                    Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress());
                    Integer fail2 = SmbTransportPoolImpl.this.failCounts.get(o2.getHostAddress());
                    if ( fail1 == null ) {
                        fail1 = 0;
                    }
                    if ( fail2 == null ) {
                        fail2 = 0;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         */
    
        public String getHostAddress() {
            if( addr instanceof NbtAddress ) {
                return ((NbtAddress)addr).getHostAddress();
            }
            return ((InetAddress)addr).getHostAddress();
        }
    
        /**
         * Return the a text representation of this address such as
         * <tt>MYCOMPUTER/192.168.1.15</tt>.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

             * an IP address as the tconHostName which is the principal
             * use of this method.
             */
            if ( this.hostName.isUnknown() ) {
                return getHostAddress();
            }
            return this.hostName.name;
        }
    
    
        @Override
        public NetbiosName getName () {
            return this.hostName;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Address.java

         */
        String getHostName ();
    
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         * 
         * @return the ip address
         */
        String getHostAddress ();
    
    
        /**
         * 
         * @return this address as an InetAddress
         * @throws UnknownHostException
         */
        InetAddress toInetAddress () throws UnknownHostException;
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 03 13:22:30 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx);
        }
    
    
        static FileEntry[] doDfsRootEnum ( CIFSContext ctx, SmbResourceLocator loc, Address address ) throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     */ 
    
        public InetAddress getInetAddress() throws UnknownHostException {
            return InetAddress.getByName( getHostAddress() );
        }
    
    /** 
     * Returns this IP adress as a {@link java.lang.String} in the form "%d.%d.%d.%d".
     */ 
    
        public String getHostAddress() {    
            return (( address >>> 24 ) & 0xFF ) + "." +
                (( address >>> 16 ) & 0xFF ) + "." +
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top