Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getInetAddress (0.21 sec)

  1. src/main/java/jcifs/netbios/NbtAddress.java

         * @throws UnknownHostException
         */
    
        public InetAddress getInetAddress () throws UnknownHostException {
            return InetAddress.getByName(getHostAddress());
        }
    
    
        @Override
        public InetAddress toInetAddress () throws UnknownHostException {
            return getInetAddress();
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private static final int LPORT = Config.getInt( "jcifs.smb1.netbios.lport", 0 );
        private static final InetAddress LADDR = Config.getInetAddress( "jcifs.smb1.netbios.laddr", null );
        private static final String RO = Config.getProperty( "jcifs.smb1.resolveOrder" );
    
        private static LogStream log = LogStream.getInstance();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

        /** 
         * Retrieve an <code>InetAddress</code>. If the address is not
         * an IP address and cannot be resolved <code>null</code> will
         * be returned.
         */
    
        public static InetAddress getInetAddress( String key, InetAddress def ) {
            String addr = prp.getProperty( key );
            if( addr != null ) {
                try {
                    def = InetAddress.getByName( addr );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/TimeoutTest.java

            try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) {
                int port = ss.getLocalPort();
                InetAddress addr = ss.getInetAddress();
    
                long start = System.currentTimeMillis();
                CIFSContext ctx = lowConnectTimeout(getContext());
                try ( SmbResource f = new SmbFile(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
     * obtain an {@link java.net.InetAddress} for a host one might do:
     *
     * <pre>
     *   InetAddress addr = NbtAddress.getByName( "jmorris2" ).getInetAddress();
     * </pre>
     * <p>From a UNIX platform with Samba installed you can perform similar
     * diagnostics using the <code>nmblookup</code> utility.
     *
     * @author    Michael B. Allen
     * @see       java.net.InetAddress
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

        static {
            String ro = Config.getProperty( "jcifs.smb1.resolveOrder" );
            InetAddress nbns = NbtAddress.getWINSAddress();
    
            try {
                baddr = Config.getInetAddress( "jcifs.smb1.netbios.baddr",
                                    InetAddress.getByName( "255.255.255.255" ));
            } catch( UnknownHostException uhe ) {
            }
    
            if( ro == null || ro.length() == 0 ) {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
Back to top