C
void TCPFlush( TCP_SOCKET hTCP );
Description
This function immediately transmits all pending TX data with a PSH flag. If this function is not called, data will automatically be sent when either a) the TX buffer is half full or b) the TCP_AUTO_TRANSMIT_TIMEOUT_VAL (default: 40ms) has elapsed.
Preconditions
TCP is initialized and the socket is connected.
Parameters
Parameters |
Description |
hTCP |
The socket whose data is to be transmitted. |
Returns
None
Remarks
SSL application data is automatically flushed, so this function has no effect for SSL sockets.