- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getInetAddress (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
this.inetSocketAddress = (InetSocketAddress) endpoint; super.connect(new UnixSocketAddress(path), timeout); } @Override public InetAddress getInetAddress() { return inetSocketAddress.getAddress(); }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) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
private val remotePort: Int = 1234, ) : Socket() { override fun getInputStream() = Buffer().inputStream() override fun getOutputStream() = Buffer().outputStream() override fun getInetAddress() = remoteAddress override fun getLocalAddress() = localAddress override fun getLocalPort() = localPort override fun getPort() = remotePort }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/NetbiosAddress.java
* a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To * obtain an {@link java.net.InetAddress} for a host one might do: * * <pre> * * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress(); * </pre> * * * From a UNIX platform with Samba installed you can perform similar * diagnostics using the <code>nmblookup</code> utility. * * @author Michael B. Allen * @see java.net.InetAddress
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
* @param def the default value to return if key is not found or cannot be resolved * @return the InetAddress for the property or the default value */ public static InetAddress getInetAddress(final Properties props, final String key, InetAddress def) { final String addr = props.getProperty(key); if (addr != null) { try { def = InetAddress.getByName(addr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
InetAddress localhost = InetAddress.getByName("localhost"); InetAddress defaultAddress = InetAddress.getByName("127.0.0.1"); assertEquals(localhost, Config.getInetAddress(testProperties, "test.host", null)); assertEquals(defaultAddress, Config.getInetAddress(testProperties, "nonexistent.host", defaultAddress)); } @Test @DisplayName("Should get boolean property with default value")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0)