jcifs.netbios
Class NbtSocket
public class NbtSocket
extends Socket
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
write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
NbtSocket
public NbtSocket()
NbtSocket
public NbtSocket(NbtAddress address,
String calledName,
int port,
InetAddress localAddr,
int localPort)
throws IOException
NbtSocket
public NbtSocket(NbtAddress address,
int port)
throws IOException
NbtSocket
public NbtSocket(NbtAddress address,
int port,
InetAddress localAddr,
int localPort)
throws IOException
close
public void close()
throws IOException
getInputStream
public InputStream getInputStream()
throws IOException
getLocalAddress
public InetAddress getLocalAddress()
getLocalPort
public int getLocalPort()
getOutputStream
public OutputStream getOutputStream()
throws IOException
getPort
public int getPort()
toString
public String toString()