Dod a écrit :
> Ok  so  you  do  nearly  same  as me. But at the end of threaded job I
> verify the client still exists before sending result.
> 
> When  a  session  connect  I  set  a  SessionID incremental counter in
> MySocketClient  class because I noticed that same socket handle can be
> re-used by a next connection.
> 
> So  when  I  finish the job I just check if SessionID is still part of
> actual session's list.
> 
> But  setting  a  'killed'  value in working thread is also good.
> 

Yes.

In fact, the more i work on the overall design, the more it looks like 
midware's one :)
Except that i can't use midware ! Damn !

Thanks for your help !

Best regards,

-- 

Guillaume MAISON - [EMAIL PROTECTED]
83, Cours Victor Hugo
47000 AGEN
Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to