Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Recv (0.12 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        public DcerpcBind() {
        }
        DcerpcBind(DcerpcBinding binding, DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        public int getOpnum() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcBind.java

        }
    
        private DcerpcBinding binding;
        private int max_xmit, max_recv;
    
    
        /**
         * Construct bind message
         * 
         */
        public DcerpcBind () {}
    
    
        DcerpcBind ( DcerpcBinding binding, DcerpcHandle handle ) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            if ( fraglen > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
            while ( have < fraglen ) {
                int r = this.handle.recv(inB, have, fraglen - have);
                if ( r == 0 ) {
                    throw new IOException("Unexpected EOF");
                }
                have += r;
            }
    
            return have;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jan 26 11:51:07 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            }
            out.write(buf, off, length);
        }
        protected void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException {
            int off, flags, length;
    
            if (buf.length < max_recv)
                throw new IllegalArgumentException("buffer too small");
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                throw new DcerpcException("Invalid binding URL: " + str);
    
            return binding;
        }
    
        protected DcerpcBinding binding;
        protected int max_xmit = 4280;
        protected int max_recv = max_xmit;
        protected int state = 0;
        protected DcerpcSecurityProvider securityProvider = null;
        private static int call_id = 1;
    
        public static DcerpcHandle getHandle(String url,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @return received bytes
         * @throws CIFSException
         * @throws IOException
         */
        int recv ( byte[] buf, int off, int length ) throws IOException;
    
    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @throws IOException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
Back to top