Ignore:
Timestamp:
Jul 29, 2008 8:15:15 PM (16 years ago)
Author:
bennylp
Message:

Initial work for ticket #579: added option to make the active socket sends all the (TCP) data before calling completion callback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/activesock.h

    r2177 r2185  
    202202    int concurrency; 
    203203 
     204    /** 
     205     * If this option is specified, the active socket will make sure that 
     206     * asynchronous send operation with stream oriented socket will only 
     207     * call the callback after all data has been sent. This means that the 
     208     * active socket will automatically resend the remaining data until 
     209     * all data has been sent. 
     210     * 
     211     * Please note that when this option is specified, it is possible that 
     212     * error is reported after partial data has been sent. Also setting 
     213     * this will disable the ioqueue concurrency for the socket. 
     214     * 
     215     * Default value is 1. 
     216     */ 
     217    pj_bool_t whole_data; 
     218 
    204219} pj_activesock_cfg; 
    205220 
Note: See TracChangeset for help on using the changeset viewer.