Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getInetAddress (0.15 sec)

  1. src/main/java/jcifs/netbios/NbtAddress.java

         * @throws UnknownHostException
         */
    
        public InetAddress getInetAddress () throws UnknownHostException {
            return InetAddress.getByName(getHostAddress());
        }
    
    
        @Override
        public InetAddress toInetAddress () throws UnknownHostException {
            return getInetAddress();
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/PropertyConfiguration.java

            this.netbiosScope = p.getProperty("jcifs.netbios.scope");
            this.netbiosLocalPort = Config.getInt(p, "jcifs.netbios.lport", 0);
            this.netbiosLocalAddress = Config.getInetAddress(p, "jcifs.netbios.laddr", null);
    
            this.lmhostsFilename = p.getProperty("jcifs.netbios.lmhosts");
            this.winsServer = Config.getInetAddressArray(p, "jcifs.netbios.wins", ",", new InetAddress[0]);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

        private val localAddress: InetAddress,
        private val localPort: Int,
        private val remoteAddress: InetAddress = localAddress,
        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)
  5. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
        public NbtSocket( NbtAddress address, String calledName, int port,
                                    InetAddress localAddr, 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Config.java

    
        /**
         * Retrieve an <code>InetAddress</code>. If the address is not
         * an IP address and cannot be resolved <code>null</code> will
         * be returned.
         */
        public static InetAddress getInetAddress ( Properties props, String key, InetAddress def ) {
            String addr = props.getProperty(key);
            if ( addr != null ) {
                try {
                    def = InetAddress.getByName(addr);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  8. 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>
     * <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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  9. 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 {
        return delegate!!.inetAddress
      }
    
      @Throws(IOException::class)
      override fun getInputStream(): InputStream {
        return delegate!!.inputStream
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/Config.java

        /** 
         * Retrieve an <code>InetAddress</code>. If the address is not
         * an IP address and cannot be resolved <code>null</code> will
         * be returned.
         */
    
        public static InetAddress getInetAddress( String key, InetAddress def ) {
            String addr = prp.getProperty( key );
            if( addr != null ) {
                try {
                    def = InetAddress.getByName( addr );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
Back to top