Thanks,
Brad
An (incomplete) NetBIOS specification is available at
http://www.netbiosguide.com.
It appears that there's a session number in the Network Control
Block (NCB) - specifically the third byte. The session number is
assigned when a session is allocated. That serves to distinguish
sessions allocated for a given NetBIOS name. NetBIOS names must
be unique on the network, and the NCB also contains a byte
identifying the name (as an index into the name table), so the
combination of session number and name uniquely identifies a
session on the network.
That's what it looks like on cursory inspection, anyway. I've
only ever dealt with this stuff at the SMB level myself.
RFCs 1001 and 1002 (for NetBIOS over TCP/IP) may also contain
useful information.
--
Michael Wojcik michael...@microfocus.com
That's gotta be one of the principles behind reality. Accepting things
that are hard to comprehend, and leaving them that way. And bleeding.
Shooting and bleeding. -- Haruki Murakami (trans Philip Gabriel)