Re: [twsocket] Showstopped bug in ICS

2011-07-05 Thread Éric Fleming Bonilha

Hi Wilfried


But it will break existing code that depents on this behaviour if
wsoNoReceiveLoop is set. But you can easely derive from TWSocket and
override do_fd_close method. Then it will behave good for your
specifications and you will never have to change code again after updates.


I see your point, I will override the do_fd_close method to fit my needs


Thanks 


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


Re: [twsocket] Showstopped bug in ICS

2011-07-05 Thread Wilfried Mestdagh
Hi Eric,

> I know, but if you still call OnDataAvailable with current socket
> options,
> for the ones that has not set wsoNoReceiveLoop (By default) the
> behaviour
> will still be the same right... for the ones that has set
> wsoNoReceiveLoop
> (like me) OnDataAvailable will still be called, and if I can afford to
> lose
> the packets 

But it will break existing code that depents on this behaviour if
wsoNoReceiveLoop is set. But you can easely derive from TWSocket and
override do_fd_close method. Then it will behave good for your
specifications and you will never have to change code again after updates.

-- 
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be

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