Arno Garrels wrote:
> Wilfried Mestdagh wrote:
>> H Eric,
>>
>>> If I keep a loop like this
>>>
>>> while (FHSocket <> INVALID_SOCKET) and (not bAllSent) do
>>> TryToSend;
>>>
>>> And TryToSend fails, will it fail everytime if I don´t call the
>>> message pump? In this case an infinite loop wo
Wilfried Mestdagh wrote:
> H Eric,
>
>> If I keep a loop like this
>>
>> while (FHSocket <> INVALID_SOCKET) and (not bAllSent) do
>> TryToSend;
>>
>> And TryToSend fails, will it fail everytime if I don´t call the
>> message pump? In this case an infinite loop would happen right?
>
> I think
Hi Eric,
If the reason that you call the Flush method is because you want to be sure
all is sent before closing the socket then you can better call ShutDown(1)
method.
--
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be
--
To unsubscribe or change
H Eric,
> If I keep a loop like this
>
> while (FHSocket <> INVALID_SOCKET) and (not bAllSent) do
> TryToSend;
>
> And TryToSend fails, will it fail everytime if I don´t call the message
> pump? In this case an infinite loop would happen right?
I think so yes.
--
mvg, Wilfried
http://www.me