- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 145 for InetAddress (0.12 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
*/ @ExtendWith(MockitoExtension.class) class NetworkInterfaceInfoTest { private InetAddress testAddress; private InetAddress loopbackAddress; @BeforeEach void setUp() throws UnknownHostException { testAddress = InetAddress.getByName("192.168.1.100"); loopbackAddress = InetAddress.getLoopbackAddress(); } @Test void testConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
public InetAddress getAddress() { return address; } public int getFlags() { return flags; } public boolean isIPv4() { return (flags & IPV4) != 0; } public boolean isIPv6() { return (flags & IPV6) != 0; } } public void addNewIPAddress(InetAddress address) { newIPAddresses.add(new WitnessIPAddress(address)); } public void addOldIPAddress(InetAddress address) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testNetworkAddressDelegation() throws UnknownHostException { // Given InetAddress localAddr = InetAddress.getByName("127.0.0.1"); InetAddress broadcastAddr = InetAddress.getByName("192.168.1.255"); InetAddress[] winsServers = { InetAddress.getByName("192.168.1.1") }; when(mockDelegate.getLocalAddr()).thenReturn(localAddr);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
override fun createSocket( host: String, port: Int, localAddress: InetAddress, localPort: Int, ): SSLSocket { val sslSocket = delegate.createSocket(host, port, localAddress, localPort) as SSLSocket return configureSocket(sslSocket) } @Throws(IOException::class) override fun createSocket( host: InetAddress, port: Int, ): SSLSocket {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
/* * Determine the InetAddress of the local interface * if one was not specified. */ InetAddress localInetAddress = tc.getConfig().getNetbiosLocalAddress(); if (localInetAddress == null) { try { localInetAddress = InetAddress.getLocalHost(); } catch (final UnknownHostException uhe) { /*Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
private NetworkInterfaceInfo remoteInterface; 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) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
override fun createSocket( host: String, port: Int, localAddress: InetAddress, localPort: Int, ): Socket { val socket = delegate.createSocket(host, port, localAddress, localPort) return configureSocket(socket) } @Throws(IOException::class) override fun createSocket( host: InetAddress, port: Int, ): Socket { val socket = delegate.createSocket(host, port)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
* either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded. */ @Throws(UnknownHostException::class) fun lookup(hostname: String): List<InetAddress> companion object { /** * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to * lookup IP addresses. Most custom [Dns] implementations should delegate to this instance. */ @JvmField
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} /** * To convert this address to an <code>InetAddress</code>. * * @return the {@link java.net.InetAddress} representation of this address. * @throws UnknownHostException if the address cannot be resolved */ public InetAddress getInetAddress() throws UnknownHostException { return InetAddress.getByName(getHostAddress()); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* @return an array of IP addresses for the host * @throws UnknownHostException if the host name cannot be resolved */ @Override public InetAddress[] resolve(final String host) throws UnknownHostException { return InetAddress.getAllByName(toAscii(host)); } /** * Decodes the given host string using the specified encoding. * * @param host the host string to decodeRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0)