Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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]);
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  2. 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
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. 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();
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  4. 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();
      }
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  5. 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();
        }
    
    
        /**
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K 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;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 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);
                }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  8. 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
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/TimeoutTest.java

            try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) {
                int port = ss.getLocalPort();
                InetAddress addr = ss.getInetAddress();
    
                long start = System.currentTimeMillis();
                CIFSContext ctx = lowConnectTimeout(getContext());
                try ( SmbResource f = new SmbFile(
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
Back to top