Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLocalName (0.11 sec)

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

        public NbtAddress getLocalHost () {
            return this.localhostAddress;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.NameServiceClient#getLocalName()
         */
        @Override
        public Name getLocalName () {
            if ( this.localhostAddress != null ) {
                return this.localhostAddress.hostName;
            }
            return null;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                out = socket.getOutputStream();
                in = socket.getInputStream();
    
                SessionServicePacket ssp = new SessionRequestPacket( calledName,
                        NbtAddress.getLocalName() );
                out.write( sbuf, 0, ssp.writeWireFormat( sbuf, 0 ));
                if (readn( in, sbuf, 0, 4 ) < 4) {
                    try {
                        socket.close();
                    } catch(IOException ioe) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     *                    by <code>InetAddress</code> should be available
     */ 
    
        public static NbtAddress getLocalHost() throws UnknownHostException {
            return localhost;
        }
        public static Name getLocalName() {
            return localhost.hostName;
        }
    
    /** 
     * Determines the address of a host given it's host name. The name can be a NetBIOS name like
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
Back to top