Embedded TCP/IP stack  4.7.0

◆ fnet_serial_flush()

void fnet_serial_flush ( fnet_serial_stream_t  stream)

Send data from the internal stream buffer to the stream client.

Parameters
streamStream descriptor.

This function immediately sends data from the internal stream buffer to the stream client.
If you do not explicitly call the flush function, stream sends data to the client after the internal buffer is full.
The function only has meaning for buffered streams.
UART stream does not have internal buffer and does not use this flush function.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net