| Platform SDK: DLC/NetBIOS | 
The SESSION_BUFFER structure contains information about a local network session. One or more SESSION_BUFFER structures follows a SESSION_HEADER structure when an application specifies the NCBSSTAT command in the ncb_command member of the NCB structure.
typedef struct _SESSION_BUFFER { 
    UCHAR lsn; 
    UCHAR state; 
    UCHAR local_name[NCBNAMSZ]; 
    UCHAR remote_name[NCBNAMSZ]; 
    UCHAR rcvs_outstanding; 
    UCHAR sends_outstanding; 
} SESSION_BUFFER, *PSESSION_BUFFER; 
| Value | Meaning | 
|---|---|
| LISTEN_OUTSTANDING | The session is waiting for a call from a remote computer. | 
| CALL_PENDING | The session is attempting to connect to a remote computer. | 
| SESSION_ESTABLISHED | The session connected and is able to transfer data. | 
| HANGUP_PENDING | The session is being deleted due to a command by the local user. | 
| HANGUP_COMPLETE | The session was deleted due to a command by the local user. | 
| SESSION_ABORTED | The session was abandoned due to a network or user problem. | 
  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Nb30.h.
The NetBIOS Interface Overview, NetBIOS Structures, NCB, SESSION_HEADER