ProSoft Technology MVI69-ADMNET User Manual
Page 101
Advertising

MVI-ADMNET ♦ 'C' Programmable
WATTCP API Functions
'C' Programmable Application Development Module with Ethernet
Developer's Guide
ProSoft Technology, Inc.
Page 101 of 122
February 20, 2013
sock_flush
Syntax
void sock_flush( sock_type *skType );
Parameters
skType
Current socket that will be used to flush all the data out of the buffer.
Description
This function is used to flush all the data that is still in the buffer out to the socket.
This function has no effect for UDP, since UDP is a connectionless protocol.
Return Value
None
Example
sock_type *socket;
. . .
sock_flush(socket); // Flush the output
See Also
sock_flushnext (page 102)
Advertising