<< Previous | Index | Next >>

sock_flush


void sock_flush( tcp_Socket *s );

Description

sock_flush() will flush the unwritten portion of the TCP buffer to the network. No guarantee is given that the data was actually delivered. In the case of a UDP socket, no action is taken.

sock_flushnext() is recommended over sock_flush().

Parameters

s

Pointer to a socket.

Return Value

None.

Library

TCP.LIB (Prior to DC 7.05, this was DCRTCP.LIB)

See Also

sock_flushnext, sock_fastwrite, sock_write, sockerr


TCP/IP Manual
Vol 1
<<Previous | Index | Next>> rabbit.com