|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| nb30.h
| Unicode
| No
| Platform Notes
| None
|
|
|
SESSION_BUFFER
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 { // sb
UCHAR lsn;
UCHAR state;
UCHAR local_name[NCBNAMSZ];
UCHAR remote_name[NCBNAMSZ];
UCHAR rcvs_outstanding;
UCHAR sends_outstanding;
} SESSION_BUFFER;
Members
lsn
Specifies the local session number.
state
Specifies the state of the session. This member can be one of the following
values:
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.
|
local_name
Specifies the 16-byte NetBIOS name on the local computer used for this
session.
remote_name
Specifies the 16-byte NetBIOS name on the remote computer used for this
session.
rcvs_outstanding
Specifies the number of pending NCBRECV commands.
sends_outstanding
Specifies the number of pending NCBSEND and NCBCHAINSEND commands.
See Also
NCB, SESSION_HEADER
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|