ProSoft Technology MVI69-ADMNET User Manual

Page 102

Advertising
background image

WATTCP API Functions

MVI-ADMNET ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module with Ethernet

Page 102 of 122

ProSoft Technology, Inc.

February 20, 2013

sock_flushnext

Syntax

void sock_flushnext( sock_type *skType );

Parameters

skType

Current socket that will be used to flush all the data in the buffer out.

Description
This function is used after the write function is called to ensure that the data in a
buffer is flushed immediately.

Return Value
None

Example

sock_type *socket;

. . .

sock_flushnext(socket); // Flush the output

See Also
sock_flush (page 101)

Advertising