Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setAddress (0.17 sec)

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

                        synchronized ( this.LOCK ) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = new Integer(request.nameTrnId);
    
                            this.out.setAddress(request.addr);
                            this.out.setLength(request.writeWireFormat(this.snd_buf, 0));
                            response.received = false;
    
                            this.responseTable.put(nid, response);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    UniAddress addr;
                    try {
                        addr = getAddress();
                    } catch( UnknownHostException uhe ) {
                        throw new SmbException( url.toString(), uhe );
                    }
                    if( addr.getAddress() instanceof NbtAddress ) {
                        int code = ((NbtAddress)addr.getAddress()).getNameType();
                        if( code == 0x1d || code == 0x1b ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. src/main/java/org/codelibs/core/net/UuidUtil.java

            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
                return InetAddress.getLocalHost().getAddress();
            } catch (final UnknownHostException ignore) {
                return DEFAULT_ADDRESS;
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top