DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Developing applications over NetBIOS using XTI

Shutting down a session with orderly release

The NetBIOS HANGUP command provides an orderly shutdown of a session. The XTI function t_sndrel provides a similar mechanism over transport providers that support connection-oriented service with orderly release.

If the transport provider does not support orderly release, you must call t_snddis to terminate a session. In this case, pending send and receive data may be lost. Set the call parameter to NULL, because NetBIOS providers do not support the sending of user data as part of a disconnect request.


NOTE: SCO TCP/NetBIOS and NetBEUI do not support connection-oriented service with orderly release. Therefore, do not call t_sndrel when using either of these two transports.


Next topic: Obtaining session and adapter status
Previous topic: Using XTI functions instead of NCBs

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003