please dont rip this site Prev Next

SESSION_BUFFER info  Overview  Group

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


file: /Techref/os/win/api/win32/struc/src/str18_24.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/12/6 02:19,
TOP NEW HELP FIND: 
18.97.14.85:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/os/win/api/win32/struc/src/str18_24.htm"> SESSION_BUFFER</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .