|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
Log | Provides logging methods specific to the netbios package. |
NbtAddress | This class represents a netbios over TCP/IP address. |
NbtConfig | This class is a wrapper for setting all properties of the jcifs netbios client. |
NbtNameServiceClient | Applications should use the NbtAddress class for
interacting with the netbios. |
Exception Summary | |
UnknownNbtHostException | Thrown to indicate that the hostname of an IP address could not be determined |
This package provides functionality to interact with the netbios over TCP/IP protocol which is currently the primary name resolution service and transport layer of Microsoft Windows networking and related products. 99% chance all you want to use this package directly for is to resolve a netbios name into its InetAddress
:
import jcifs.netbios.*; InetAddress add = NbtAddress.getByName( "fred" ).getInetAddress();
You may want to set the name server(WINS or Samba) using the NbtConfig
class:
NbtConfig.setNameServer( InetAddress.getByName( "thewinsserver" ));
If you don't know what the other stuff is then you probably don't need it. If you do, this is a complete implemention and should interface fully with the name service(and soon session service). Other features that might be considered usefull is retreiving the MAC address of a host with NbtAddress.getMacAddress()
, resolving the names of the local host, determining who is logged into a machine, obtaining a list of all machines on the network, etc.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |