Table of Contents
stream_shutdown
Shuts down a stream.
stream_shutdown(stream)
This function shuts down operations on the stream. This function is typically used to interrupt operations on the stream such that stream_send operations exit immediately, the peer is notified that the connection is closing (for some protocols, like tcpip or shmem) and stream_receive operations return with a zero once the data that was last sent from the peer has been exhausted.
stream
Stream handle returned by stream_connect or stream_accept.
This function has no outputs.
stream_shutdown(stream); % Shut down the stream
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.