- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getInetAddress (0.09 sec)
-
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) -
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()); } @TestRegistered: 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) -
src/main/java/jcifs/smb1/Config.java
* @param def the default InetAddress to return if the property is not found or cannot be resolved * @return the property value as an InetAddress, or the default value */ public static InetAddress getInetAddress(final String key, InetAddress def) { final String addr = prp.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 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.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> * <p>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 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
static { final String ro = Config.getProperty("jcifs.smb1.resolveOrder"); final InetAddress nbns = NbtAddress.getWINSAddress(); try { baddr = Config.getInetAddress("jcifs.smb1.netbios.baddr", InetAddress.getByName("255.255.255.255")); } catch (final UnknownHostException uhe) {} if (ro == null || ro.length() == 0) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0)