Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for laddr (0.07 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: Sun Nov 03 00:10:13 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Config.java

            String addr = props.getProperty("jcifs.smb.client.laddr");
    
            if ( addr != null ) {
                try {
                    return InetAddress.getByName(addr);
                }
                catch ( UnknownHostException uhe ) {
                    log.error("Ignoring jcifs.smb.client.laddr address: " + addr, uhe);
                }
            }
    
            return null;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  4. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  5. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/PropertyConfiguration.java

            this.netbiosScope = p.getProperty("jcifs.netbios.scope");
            this.netbiosLocalPort = Config.getInt(p, "jcifs.netbios.lport", 0);
            this.netbiosLocalAddress = Config.getInetAddress(p, "jcifs.netbios.laddr", null);
    
            this.lmhostsFilename = p.getProperty("jcifs.netbios.lmhosts");
            this.winsServer = Config.getInetAddressArray(p, "jcifs.netbios.wins", ",", new InetAddress[0]);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int DEFAULT_SND_BUF_SIZE = 16644;
        static final int DEFAULT_SSN_LIMIT = 250;
        static final int DEFAULT_CONN_TIMEOUT = 35000;
    
        static final InetAddress LADDR = Config.getLocalHost();
        static final int LPORT = Config.getInt( "jcifs.smb1.smb.client.lport", 0 );
        static final int MAX_MPX_COUNT = Config.getInt( "jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                    && ( prt == 0 || prt == this.port ||
                    /* port 139 is ok if 445 was requested */
                            ( prt == 445 && this.port == 139 ) )
                    && ( laddr == this.localAddr || ( laddr != null && laddr.equals(this.localAddr) ) ) && lprt == this.localPort;
        }
    
    
        void ssn139 () throws IOException {
            CIFSContext tc = this.transportContext;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  10. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top