Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 146 for InetAddress (0.46 seconds)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

        @BeforeEach
        void setUp() throws UnknownHostException {
            loadBalancer = new ChannelLoadBalancer(mockChannelManager);
    
            InetAddress addr1 = InetAddress.getByName("192.168.1.100");
            InetAddress addr2 = InetAddress.getByName("192.168.1.101");
            NetworkInterfaceInfo local = new NetworkInterfaceInfo(addr1, 1000);
            NetworkInterfaceInfo remote1 = new NetworkInterfaceInfo(addr1, 1000);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

        /** Local address for NetBIOS communications */
        protected InetAddress netbiosLocalAddress;
        /** Path to lmhosts file for NetBIOS name resolution */
        protected String lmhostsFilename;
        /** Array of WINS server addresses for NetBIOS name resolution */
        protected InetAddress[] winsServer = {};
        /** Broadcast address for NetBIOS name resolution */
        protected InetAddress broadcastAddress;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.witness;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.util.List;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.dcerpc.DcerpcHandle;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

          val orderedAddresses =
            when {
              fastFallback -> reorderForHappyEyeballs(addresses)
              else -> addresses
            }
    
          for (inetAddress in orderedAddresses) {
            mutableInetSocketAddresses += InetSocketAddress(inetAddress, socketPort)
          }
        }
      }
    
      /** A set of selected Routes. */
      class Selection(
        val routes: List<Route>,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  6. src/test/java/jcifs/netbios/NbtAddressTest.java

        @Test
        void testGetInetAddress() throws UnknownHostException {
            // Test getInetAddress for correct InetAddress creation
            mockName = new Name(mockConfig, "TESTHOST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            InetAddress expectedInetAddress = InetAddress.getByName("192.168.1.1");
            assertEquals(expectedInetAddress, nbtAddress.getInetAddress());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

         *
         * @return witness server address or null if not found
         * @throws IOException if discovery fails
         */
        private InetAddress discoverWitnessService() throws IOException {
            // Try the same server first
            InetAddress serverAddress = transport.getRemoteAddress().toInetAddress();
    
            if (isWitnessServiceAvailable(serverAddress)) {
                return serverAddress;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosLocalPort()).thenReturn(0);
            when(mockConfig.getNetbiosLocalAddress()).thenReturn(InetAddress.getByName("127.0.0.1"));
            when(mockConfig.getBroadcastAddress()).thenReturn(InetAddress.getByName("255.255.255.255"));
            when(mockConfig.getNetbiosSndBufSize()).thenReturn(576);
            when(mockConfig.getNetbiosRcvBufSize()).thenReturn(576);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.unixdomainsockets;
    
    import java.io.File;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.SocketAddress;
    import jnr.unixsocket.UnixSocket;
    import jnr.unixsocket.UnixSocketAddress;
    import jnr.unixsocket.UnixSocketChannel;
    
    /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/config/DelegatingConfiguration.java

         * @see jcifs.Configuration#getBroadcastAddress()
         */
        @Override
        public InetAddress getBroadcastAddress() {
            return this.delegate.getBroadcastAddress();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getWinsServers()
         */
        @Override
        public InetAddress[] getWinsServers() {
            return this.delegate.getWinsServers();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24.1K bytes
    - Click Count (0)
Back to Top