Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for LocalAddr (0.48 sec)

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

                    && (port == 0 || port == this.port ||
                    /* port 139 is ok if 445 was requested */
                            port == 445 && this.port == 139)
                    && (localAddr == this.localAddr || localAddr != null && localAddr.equals(this.localAddr)) && localPort == this.localPort;
        }
    
        boolean hasCapability(final int cap) throws SmbException {
            try {
                connect(RESPONSE_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTransportPool.java

                boolean exclusive);
    
        /**
         * Gets or creates an SMB transport for the given context.
         *
         * @param tc
         *            context to use
         * @param address the server address
         * @param port the port number
         * @param localAddr the local address to bind to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                final int localPort, final String hostName, final boolean nonPooled) {
            return getSmbTransport(tc, address, port, localAddr, localPort, hostName, nonPooled, false);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, int port, final InetAddress localAddr,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtSocket.java

         * @param localAddr the local address to bind to
         * @param localPort the local port to bind to
         * @throws IOException if an I/O error occurs while creating the socket
         */
        public NbtSocket(final NbtAddress address, final int port, final InetAddress localAddr, final int localPort) throws IOException {
            this(address, null, port, localAddr, localPort);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

                // Given
                when(transportPool.getSmbTransport(context, address, DEFAULT_PORT, localAddr, LOCAL_PORT, TEST_HOST, false))
                        .thenReturn(transport);
    
                // When
                SmbTransport result = transportPool.getSmbTransport(context, address, DEFAULT_PORT, localAddr, LOCAL_PORT, TEST_HOST, false);
    
                // Then
                assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun isConnected(): Boolean = delegate!!.isConnected
    
      override fun isClosed(): Boolean = delegate!!.isClosed
    
      @Throws(IOException::class)
      override fun bind(localAddr: SocketAddress) {
        delegate!!.bind(localAddr)
      }
    
      @Throws(IOException::class)
      override fun connect(remoteAddr: SocketAddress) {
        delegate!!.connect(remoteAddr)
      }
    
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            this.address = address;
            this.port = port;
            this.localAddr = localAddr;
            this.localPort = localPort;
    
            // Initialize circuit breaker with connection-specific name
            String circuitBreakerName = String.format("SMB-%s:%d", address.getHostAddress(), port);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

        private final UniAddress address;
        private final int port, localPort;
        private final InetAddress localAddr;
    
        SmbTransport transport = null;
        NtlmPasswordAuthentication auth;
        long expiration;
        String netbiosName = null;
    
        SmbSession(final UniAddress address, final int port, final InetAddress localAddr, final int localPort,
                final NtlmPasswordAuthentication auth) {
            this.address = address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

        private ChannelInfo channelInfo;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            InetAddress localAddr = InetAddress.getByName("192.168.1.100");
            InetAddress remoteAddr = InetAddress.getByName("192.168.1.200");
    
            localInterface = new NetworkInterfaceInfo(localAddr, 1000);
            remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

        @Test
        void testChannelInfoCreation() throws Exception {
            // Test ChannelInfo creation
            InetAddress localAddr = InetAddress.getByName("192.168.1.10");
            InetAddress remoteAddr = InetAddress.getByName("192.168.1.100");
    
            NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1);
            NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top