Sack Library Documentation
ContentsIndexReferenceHome
Example

Used in a normal read callback...

void CPROC ReadComplete( PCLIENT pc, POINTER buffer, int size )
{
    if( buffer == NULL )
        buffer = malloc( 4096 );
    else
    {
       // size will be non 0, process buffer
    }
    ReadTCP( pc, buffer, 4096 );
}
   
   
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 support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.