Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for socketio (0.18 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

                    boolean closed = msg != null && msg.equals("Socket closed");
    
                    if ( closed ) {
                        log.trace("Remote closed connection");
                    }
                    else if ( timeout ) {
                        log.debug("socket timeout in non peek state", ex);
                    }
                    else {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        /* Construct the shared static client object that will
         * conduct all encoding and decoding of NetBIOS name service
         * messages as well as socket IO in a synchronized fashon.
         */
    
        private static final NameServiceClient CLIENT = new NameServiceClient();
    
        private static final int DEFAULT_CACHE_POLICY = 30;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            do {
    /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied
                if (localAddr == null) {
                    socket = new Socket( address.getHostAddress(), 139 );
                } else {
                    socket = new Socket( address.getHostAddress(), 139, localAddr, localPort );
                }
                socket.setSoTimeout( SO_TIMEOUT );
    */
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            do {
                this.socket = new Socket();
                if ( this.localAddr != null )
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            if( len > 0xFFFF ) {
                throw new IOException( "write too large: " + len );
            } else if( off < 4 ) {
                throw new IOException( "NetBIOS socket output buffer requires 4 bytes available before off" );
            }
    
            off -= 4;
    
            b[off + 0] = (byte)SessionServicePacket.SESSION_MESSAGE;
            b[off + 1] = (byte)0x00; 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         * 
         * Property <tt>jcifs.smb.client.soTimeout</tt> (int, default 35000)
         * 
         * @return socket timeout, in milliseconds
         */
        int getSoTimeout ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.connTimeout</tt> (int, default 35000)
         * 
         * @return timeout for establishing a socket connection, in milliseconds
         */
        int getConnTimeout ();
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if( socket != null ) {
                    socket.close();
                    socket = null;
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                this.closeTimeout = Math.max(this.transportContext.getConfig().getNetbiosSoTimeout(), timeout);
            }
            // If socket is still good, the new closeTimeout will
            // be ignored; see tryClose comment.
            if ( this.socket == null ) {
                this.socket = new DatagramSocket(this.lport, this.laddr);
                this.thread = new Thread(this, "JCIFS-NameServiceClient");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtSocket.java

     */
    
    package jcifs.smb1.netbios;
    
    import java.net.Socket;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.LogStream;
    
    import java.net.InetAddress;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.IOException;
    
    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    requires leaving a 4 byte prefix for the NBT header. IOW you must call
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
Back to top