Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for laddr (0.98 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private int[] resolveOrder;
    
        InetAddress laddr, baddr;
    
        NameServiceClient() {
            this( LPORT, LADDR );
        }
        NameServiceClient( int lport, InetAddress laddr ) {
            this.lport = lport;
            this.laddr = laddr;
    
            try {
                baddr = Config.getInetAddress( "jcifs.smb1.netbios.baddr",
                            InetAddress.getByName( "255.255.255.255" ));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            request.isBroadcast = request.addr == null || isBroadcastAddress(request.addr);
    
            if ( request.isBroadcast ) {
                if ( request.addr == null ) {
                    request.addr = this.baddr;
                }
                n = config.getNetbiosRetryCount();
            }
            else {
                n = 1;
            }
    
            do {
                try {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

            String addr = prp.getProperty( "jcifs.smb1.smb.client.laddr" );
    
            if (addr != null) {
                try {
                    return InetAddress.getByName( addr );
                } catch( UnknownHostException uhe ) {
                    if( log.level > 0 ) {
                        log.println( "Ignoring jcifs.smb1.smb.client.laddr address: " + addr );
                        uhe.printStackTrace( log );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         * 
         * @return local port to use for outgoing connections
         */
        int getLocalPort ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.laddr</tt> (string)
         * 
         * @return local address to use for outgoing connections
         */
        InetAddress getLocalAddr ();
    
    
        /**
         * 
         * Property <tt>jcifs.netbios.hostname</tt> (string)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * @return a four byte array
     */ 
    
        public byte[] getAddress() {    
            byte[] addr = new byte[4];
    
            addr[0] = (byte)(( address >>> 24 ) & 0xFF );
            addr[1] = (byte)(( address >>> 16 ) & 0xFF );
            addr[2] = (byte)(( address >>> 8 ) & 0xFF );
            addr[3] = (byte)( address & 0xFF );
            return addr;
        }
    
    /** 
     * To convert this address to an <code>InetAddress</code>.
     *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        static LogStream log = LogStream.getInstance();
        static HashMap dfsRoots = null;
    
        static synchronized SmbTransport getSmbTransport( UniAddress address, int port ) {
            return getSmbTransport( address, port, LADDR, LPORT, null );
        }
        static synchronized SmbTransport getSmbTransport( UniAddress address, int port,
                                        InetAddress localAddr, int localPort, String hostName ) {
            SmbTransport conn;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    }
                }
            }
    
            IOException ex = null;
            for ( Address addr : addrs ) {
                if ( log.isDebugEnabled() ) {
                    log.debug("Trying address {}", addr);
                }
                try ( SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class) ) {
                    try {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

         */
        public byte[] getAddress () {
            byte[] addr = new byte[4];
            addr[ 0 ] = (byte) ( ( this.address >>> 24 ) & 0xFF );
            addr[ 1 ] = (byte) ( ( this.address >>> 16 ) & 0xFF );
            addr[ 2 ] = (byte) ( ( this.address >>> 8 ) & 0xFF );
            addr[ 3 ] = (byte) ( this.address & 0xFF );
            return addr;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/DfsTest.java

            DfsResolver dfs = context.getDfs();
    
            try ( SmbTransport dc = dfs.getDc(context, getTestDomain()) ) {
                Address addr = dc.getRemoteAddress();
                String remoteHostName = dc.getRemoteHostName();
                assertNotNull(addr);
                assertNotNull(remoteHostName);
                assertEquals(getTestDC(), remoteHostName);
            }
        }
    
    
        @Test
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
            while ( dr != start );
            throw last;
        }
    
    
        /**
         * @param loc
         * @param addr
         * @param trans
         * @param t
         * @throws CIFSException
         */
        private SmbTreeImpl connectTree ( SmbResourceLocatorImpl loc, String addr, String share, SmbTransportInternal trans, SmbTreeImpl t,
                DfsReferralData referral ) throws CIFSException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
Back to top