Sack Library Documentation
sack::network::tcp::TCPDrainEx Function
IMPORT_METHOD LOGICAL TCPDrainEx(PCLIENT pClient, size_t nLength, int bExact);
PCLIENT pClient 
network connection to drain data from. 
size_t nLength 
how much data to skip. 
int bExact 
if TRUE, will consume all of nLength bytes. if FALSE, if there are less than nLength bytes available right now, the drain will end when no further data is available now. 

Drain is an operation on a TCP socket to just drop the next X bytes. They are ignored and not stored into any user buffer. Drain reads take precedence over any other queued reads.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!