Hi Eric,

TryToSend will exit if winsock returns WSAEWOULDBLOCK. I think that is the
reason for the message pump call. I never used the Flush method.

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


> -----Oorspronkelijk bericht-----
> Van: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org]
> Namens Éric Fleming Bonilha
> Verzonden: maandag 25 juli 2011 14:50
> Aan: ICS support mailing
> Onderwerp: Re: [twsocket] Socket flushing
> 
> Nobody knows???
> 
> Eric
> 
> -----Mensagem Original-----
> From: Éric Fleming Bonilha
> Sent: Friday, July 22, 2011 5:35 PM
> To: ICS support mailing
> Subject: Re: [twsocket] Socket flushing
> 
> > What issues?
> 
> It is a weird issue... it actually creates a stack overflow because in
> some
> parts of my app I need to call flush, and flush calls the messageloop
> and on
> messageloop some timer routines are called that enters again on the
> same
> routine to flush the socket! it is complicated... and only happened
> once but
> it can happen...
> 
> > Good question :) This dates from 1994...
> 
> Hum, does anybody remember? I was just wondering if this routine could
> enter
> on an infinite loop, if there is no way to enter on an infinite loop I
> will
> remove the MessageLoop call from my derivate class
> 
> 
> Best Regards
> Eric
> 
> --
> 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
> 
> --
> 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

--
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

Reply via email to