Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for recv (0.2 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/internal/smb1/com/SmbComNegotiateResponse.java

            if ( this.maxMpxCount < 1 )
                this.maxMpxCount = 1;
            this.snd_buf_size = Math.min(this.snd_buf_size, this.server.maxBufferSize);
            this.recv_buf_size = Math.min(this.recv_buf_size, this.server.maxBufferSize);
            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
            this.capabilities &= this.server.scapabilities;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

    
        /**
         * @return the binding
         */
        public DcerpcBinding getBinding () {
            return this.binding;
        }
    
    
        /**
         * @return the max_recv
         */
        int getMaxRecv () {
            return this.max_recv;
        }
    
    
        /**
         * @return the max_xmit
         */
        int getMaxXmit () {
            return this.max_xmit;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    SmbPipeInputStream in = getInput();
                    out.write(buf, off, length);
                    return in.read(inB);
                }
            }
        }
    
    
        @Override
        public int recv ( byte[] buf, int off, int len ) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
    
        @Override
        public void send ( byte[] buf, int off, int length ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                    }
                    else if ( timeout ) {
                        log.debug("socket timeout in non peek state", ex);
                    }
                    else {
                        log.debug("recv failed", ex);
                    }
    
                    synchronized ( this ) {
                        try {
                            disconnect(!timeout, false);
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
Back to top