Network, Computer and Programming Resources
Netbios command - [NetBIOS]-> NCBSSTAT
This command retrieves the status of a session. When calling this command, ncb_buffer is set to a block of memory that will be filled with a SESSION_HEADER structure followed by one or more SESSION_BUFFER structures. If the first byte of ncb_name is an asterisk (*), this command obtains the status for all sessions associated with all names in the local name table. If the supplied buffer is too small, the error NRC_INCOMP (0x06) is returned. If the buffer length is less than 4, the error returned is NRC_BUFLEN (0x01).