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/11/23 12:09,
TOP NEW HELP FIND: 
3.137.169.56: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://sxlist.com/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 sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .