stream_set_swap_bytes stream_close navigation bar

Table of Contents

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

 

navigation bar