NetBIOS names and addresses
The definition (in /usr/include/xti.h)
of a NetBIOS transport address is:
struct nb_addr {
char nb_type;
char nb_name[NB_NAMELEN];
};
The value of nb_type is either NB_UNIQUE
or NB_GROUP,
and the value of NB_NAMELEN is 16.
The constants NB_UNIQUE,
NB_GROUP, and NB_NAMELEN
(NetBIOS name length)
are defined in xti.h.
A NetBIOS name consists of 16 alphanumeric
bytes. This address identifies a client or server process to the
LAN. When specifying NetBIOS names:
-
Do not set the first byte to zero (0x00).
-
Do not set the first byte to an asterisk, except to
designate a broadcast datagram destination.
For more information on broadcast datagrams, see
``Sending NetBIOS broadcast datagrams''.
-
Do not start with a company name or trademark.
-
Do not set the last byte in the range of
hexadecimal 0x00 - 0x1F inclusive
(the non-printing ASCII characters).
Next topic:
Sending NetBIOS broadcast datagrams
Previous topic:
NetBIOS: from DOS to UNIX systems
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003