public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ), localAddr, localPort ); this.address = address; if( calledName == null ) { this.calledName = address.hostName; } else { this.calledName = new Name( calledName, 0x20, null ); } soTimeout = Config.getInt( "jcifs.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); connect(); }
public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ), localAddr, localPort ); this.address = address; if( calledName == null ) { this.calledName = address.hostName; } else { this.calledName = new Name( calledName, 0x20, null ); } soTimeout = Config.getInt( "jcifs.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); connect(); }
public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ), localAddr, localPort ); this.address = address; if( calledName == null ) { this.calledName = address.hostName; } else { this.calledName = new Name( calledName, 0x20, null ); } soTimeout = Config.getInt( "jcifs.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); connect(); }
public NbtSocket( NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort ) throws IOException { super( address.getInetAddress(), ( port == 0 ? SSN_SRVC_PORT : port ), localAddr, localPort ); this.address = address; if( calledName == null ) { this.calledName = address.hostName; } else { this.calledName = new Name( calledName, 0x20, null ); } soTimeout = Config.getInt( "jcifs.netbios.soTimeout", DEFAULT_SO_TIMEOUT ); connect(); }