Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for setAddress (0.05 sec)

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

                    try {
                        synchronized (LOCK) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = request.nameTrnId;
    
                            out.setAddress(request.addr);
                            out.setLength(request.writeWireFormat(snd_buf, 0));
                            response.received = false;
    
                            responseTable.put(nid, response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    try {
                        synchronized (this.LOCK) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = request.nameTrnId;
    
                            this.out.setAddress(request.addr);
                            this.out.setLength(request.writeWireFormat(this.snd_buf, 0));
                            response.received = false;
    
                            this.responseTable.put(nid, response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

            
            try {
                baos.write(session.getSessionKey());
                baos.write(channel.getLocalInterface().getAddress().getAddress());
                baos.write(channel.getRemoteInterface().getAddress().getAddress());
                baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array());
            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

                if (sessionKey != null) {
                    baos.write(sessionKey);
                }
                baos.write(channel.getLocalInterface().getAddress().getAddress());
                baos.write(channel.getRemoteInterface().getAddress().getAddress());
                baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array());
            } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

             */
            if (pathNamesPossiblyEqual(this.url.getPath(), o.url.getPath()) && getURLPath().equalsIgnoreCase(o.getURLPath())) {
                try {
                    return getAddress().equals(o.getAddress());
                } catch (final CIFSException uhe) {
                    log.debug("Unknown host", uhe);
                    return getServer().equalsIgnoreCase(o.getServer());
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         * @param linkSpeed link speed in Mbps
         */
        public NetworkInterfaceInfo(InetAddress address, int linkSpeed) {
            this.address = address;
            this.linkSpeed = linkSpeed;
            this.ipv6 = address.getAddress().length == 16;
            this.capability = 0;
    
            // Check for RSS capability
            this.rssCapable = checkRSSCapability();
            if (rssCapable) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/UniAddressTest.java

                assertEquals(inetAddress, uniAddress.getAddress());
            }
    
            @Test
            void shouldConstructWithNbtAddress() {
                NbtAddress nbtAddress = mock(NbtAddress.class);
                UniAddress uniAddress = new UniAddress(nbtAddress);
                assertNotNull(uniAddress);
                assertEquals(nbtAddress, uniAddress.getAddress());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");
            assertSame(a1, l1.getAddress());
    
            // Query parameter 'address' builds UniAddress from IP
            SmbResourceLocatorImpl l2 = locator("smb://host/share?address=127.0.0.1");
            Address first = l2.getAddress();
            assertTrue(first instanceof UniAddress);
    
            // Host with root path -> possibleNTDomainOrWorkgroup=true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top