Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getLocalPort (0.09 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        public InetAddress getLocalAddress() {
            return super.getLocalAddress();
        }
        public int getLocalPort() {
            return super.getLocalPort();
        }
        public String toString() {
            return "NbtSocket[addr=" + address +
                    ",port=" + super.getPort() +
                    ",localport=" + super.getLocalPort() + "]";
        }
        private void connect() throws IOException {
            byte[] buffer = new byte[BUFFER_SIZE];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

        private val remotePort: Int = 1234,
      ) : Socket() {
        override fun getInetAddress() = remoteAddress
    
        override fun getLocalAddress() = localAddress
    
        override fun getLocalPort() = localPort
    
        override fun getPort() = remotePort
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

          serverSocketChannel = UnixServerSocketChannel.open();
          serverSocketChannel.configureBlocking(true);
          serverSocketChannel.socket().bind(address);
        }
    
        @Override public int getLocalPort() {
          return 1; // A white lie. There is no local port.
        }
    
        @Override public SocketAddress getLocalSocketAddress() {
          return endpoint;
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getKeepAlive(): Boolean {
        return delegate!!.keepAlive
      }
    
      override fun getLocalAddress(): InetAddress {
        return delegate!!.localAddress
      }
    
      override fun getLocalPort(): Int {
        return delegate!!.localPort
      }
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream {
        return delegate!!.outputStream
      }
    
      override fun getPort(): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top