stream_shutdown
Shuts down send and/or receives in preparation for closing the stream.
Description
This function shuts down send and/or receives in preparation for closing the stream.
Prototype
t_error
stream_shutdown(t_stream stream);
    
    Parameters
t_stream stream
A stream established using stream_listen, stream_connect or stream_accept.
Return value
Returns 0 on success. If an error occurs then a negative error code is returned.
Error codes
This function does not return any error code.
Requirements
| 
                     Include Files  | 
                
                     Libraries  | 
            
|---|---|
| 
                     quanser_stream.h  | 
                
                     quanser_communications.lib;quanser_runtime.lib;quanser_common.lib  | 
                
See Also
        
    
Copyright ©2025 Quanser Inc. This page was generated 2025-06-17. " Submit feedback to Quanser about this page.