[ace-users] loosing signal for "connection closed"

Ali Hussnain Shah hussnain_shah at gmx.net
Mon Sep 3 16:51:18 CDT 2007


Hi,
   still waiting for some suggestions how to avoid this problem? 
otherwise i have to try something else like different strategy for 
forwarding data without lesser usage of message queue in handle_ouput.


many thankx,
ali


Douglas C. Schmidt schrieb:
> Hi Ali,
> 
> To ensure that we have proper version/platform/compiler information,
> please make sure you fill out the appropriate problem report form (PRF),
> which is in
> 
> $ACE_ROOT/PROBLEM-REPORT-FORM
> $TAO_ROOT/PROBLEM-REPORT-FORM
> 
> or in
> 
> $ACE_ROOT/BUG-REPORT-FORM
> $TAO_ROOT/BUG-REPORT-FORM
> 
> in older versions of ACE+TAO.  Make sure to include this information
> when asking any questions about ACE+TAO since otherwise we have to
> "guess" what version/platform/compiler/options you've using, which is
> very error-prone and slows down our responsiveness.  If you don't use
> the PRF, therefore, it is less likely that someone from the core
> ACE+TAO developer team will be able to answer your question.
> Naturally, we encourage and appreciate other members of the ACE+TAO
> user community who can respond to questions that they have the answers
> to.
> 
> Thanks,
> 
> Doug
> 
>>    i am writing a small server wich should forward data from one client 
>> C1 to the second one C2.
>>
>> C1 is sending data very fast, to slow down C1 with ACE handle_input of 
>> C1's handler returns value > 0 if there is still pending data for C2.
>>
>> Data from C1 is put in the message queue of C2, which C2 will forward in 
>> it's handle_ouput after the reactor does a callback. For that i have 
>> increased the size of C2's message queue with 
>> msg_queue()->high_water_mark().
>>
>> Problem is: All the data is transferred successfully, C1 does send data 
>> slowly if C2 is still processing. But sometimes the reactor does not 
>> call handle_input() if C1 is closing its socket () and handle_close of 
>> C1 is nerver called?
>>
>> Any hints would be very helpfull?
>>
>>
>> with best regards,
>> Ali
>>
>> _______________________________________________
>> ace-users mailing list
>> ace-users at mail.cse.wustl.edu
>> http://mail.cse.wustl.edu/mailman/listinfo/ace-users
> 
> 



More information about the Ace-users mailing list