Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 144 for InetAddress (0.48 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        delegate!!.close()
      }
    
      override fun getInetAddress(): InetAddress = delegate!!.inetAddress
    
      @Throws(IOException::class)
      override fun getInputStream(): InputStream = delegate!!.inputStream
    
      @Throws(SocketException::class)
      override fun getKeepAlive(): Boolean = delegate!!.keepAlive
    
      override fun getLocalAddress(): InetAddress = delegate!!.localAddress
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.InetAddress;
    import java.net.Socket;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.LogStream;
    
    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

      private var eventRecorder = EventRecorder()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      val dns = FakeDns()
    
      val ipv4 = InetAddress.getByName("203.0.113.1")
      val ipv6 = InetAddress.getByName("2001:db8:ffff:ffff:ffff:ffff:ffff:1")
    
      val refusedStream =
        MockResponse
          .Builder()
          .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
          .build()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
    
      private fun getByIp(host: String): InetAddress =
        try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
            InetAddress broadcastAddr = testConfig.getBroadcastAddress();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test initResolverOrder with WINS server")
        void testInitResolverOrderWithWinsServer() throws UnknownHostException {
            config.winsServer = new InetAddress[] { InetAddress.getByName("192.168.1.1") };
            config.initResolverOrder(null);
    
            List<ResolverType> order = config.getResolveOrder();
            assertEquals(4, order.size());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private int[] resolveOrder;
    
        InetAddress laddr, baddr;
    
        NameServiceClient() {
            this(LPORT, LADDR);
        }
    
        NameServiceClient(final int lport, final InetAddress laddr) {
            this.lport = lport;
            this.laddr = laddr;
    
            try {
                baddr = Config.getInetAddress("jcifs.smb1.netbios.baddr", InetAddress.getByName("255.255.255.255"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

         */
        public void setIpAddress(String ipAddress) {
            this.ipAddress = ipAddress;
        }
    
        /**
         * Sets the IP address from an InetAddress.
         *
         * @param address the InetAddress
         */
        public void setIpAddress(InetAddress address) {
            if (address != null) {
                this.ipAddress = address.getHostAddress();
            }
        }
    
        /**
         * Gets the IP address.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

                try {
                    this.winsServer = new InetAddress[] { InetAddress.getByName(value) };
                } catch (UnknownHostException e) {
                    // Invalid address ignored
                }
            }
    
            value = props.getProperty("jcifs.netbios.laddr");
            if (value != null) {
                try {
                    this.netbiosLocalAddress = InetAddress.getByName(value);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. 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].
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top