Table of Contents
stream_send_byte
Writes a single byte to the stream buffer.
Description
This function writes a single byte to the stream buffer. It is has the same semantics as the stream_send function, except that it only sends a single byte.
Prototype
t_int stream_send_byte(t_stream stream, t_byte value);
Parameters
t_stream stream
A client stream established using stream_connect or stream_accept.
t_byte value
The value to be sent.
Return value
The number of bytes sent, which will always be 1. 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 ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.