- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getInetAddress (0.07 sec)
-
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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* @throws UnknownHostException if the address cannot be resolved */ public InetAddress getInetAddress() throws UnknownHostException { return InetAddress.getByName(getHostAddress()); } @Override public InetAddress toInetAddress() throws UnknownHostException { return getInetAddress(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
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(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
// 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()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
private static final int LPORT = Config.getInt("jcifs.smb1.netbios.lport", 0); private static final InetAddress LADDR = Config.getInetAddress("jcifs.smb1.netbios.laddr", null); private static final String RO = Config.getProperty("jcifs.smb1.resolveOrder"); private static LogStream log = LogStream.getInstance();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (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 }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
override fun setSSLParameters(p: SSLParameters) { delegate!!.sslParameters = p } @Throws(IOException::class) override fun close() { delegate!!.close() } override fun getInetAddress(): InetAddress = delegate!!.inetAddress @Throws(IOException::class) override fun getInputStream(): InputStream = delegate!!.inputStream @Throws(SocketException::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) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
*/ public NbtSocket(final NbtAddress address, final String calledName, final int port, final InetAddress localAddr, final int localPort) throws IOException { super(address.getInetAddress(), port == 0 ? SSN_SRVC_PORT : port, localAddr, localPort); this.address = address; if (calledName == null) { this.calledName = address.hostName; } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0)