Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 828 for Port (0.02 sec)

  1. cmd/endpoint.go

    			return ep, fmt.Errorf("invalid URL endpoint format")
    		}
    
    		var port string
    		host, port, err = net.SplitHostPort(u.Host)
    		if err != nil {
    			if !strings.Contains(err.Error(), "missing port in address") {
    				return ep, fmt.Errorf("invalid URL endpoint format: %w", err)
    			}
    
    			host = u.Host
    		} else {
    			var p int
    			p, err = strconv.Atoi(port)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

          return configureSocket((SSLSocket) delegate.createSocket(host, port, localHost, localPort));
        }
    
        @Override public Socket createSocket(InetAddress host, int port) throws IOException {
          return configureSocket((SSLSocket) delegate.createSocket(host, port));
        }
    
        @Override public Socket createSocket(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * Starts the server on the loopback interface for the given port.
       *
       * @param port the port to listen to, or 0 for any available port. Automated tests should always
       * use port 0 to avoid flakiness when a specific port is unavailable.
       */
      @Throws(IOException::class)
      @JvmOverloads
      public fun start(port: Int = 0) {
        start(InetAddress.getByName("localhost"), port)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: InetAddress,
        port: Int,
      ): SSLSocket {
        val sslSocket = delegate.createSocket(host, port) as SSLSocket
        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: InetAddress,
        port: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,
                final boolean forceSigning) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbTransportPool.java

        /**
         * Get transport connection, with local binding
         *
         * @param tc
         *            context to use
         * @param address the server address
         * @param port the port number
         * @param localAddr the local address to bind to
         * @param localPort the local port to bind to
         * @param hostName the server host name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

            this.server = server;
        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/https/HandlerTest.java

        }
    
        @Nested
        @DisplayName("Default Port Tests")
        class DefaultPortTests {
    
            @Test
            @DisplayName("Should return HTTPS port 443")
            void testGetDefaultPort() {
                // When
                int port = handler.getDefaultPort();
    
                // Then
                assertEquals(443, port);
                assertEquals(Handler.DEFAULT_HTTPS_PORT, port);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            /**
             * Gets the port number from the FTP URL.
             * Returns the default FTP port (21) if no port is specified.
             *
             * @return The port number
             */
            public int getPort() {
                int port = uri.getPort();
                if (port == -1) {
                    port = DEFAULT_FTP_PORT;
                }
                return port;
            }
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            this.server = server;
        }
    
        /**
         * Returns the port number.
         * @return The port number.
         */
        public int getPort() {
            return port;
        }
    
        /**
         * Sets the port number.
         * @param port The port number.
         */
        public void setPort(final int port) {
            this.port = port;
        }
    
        /**
         * Returns the username.
         * @return The username.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top