Embedded TCP/IP stack: fnet_serial_flush

FNET

void fnet_serial_flush ( fnet_serial_stream_t  stream)

Sends 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-2018 by Andrey Butok. http://fnet.sourceforge.net