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 so yes.
Why? Do you have arguments? I agree that Flush generally violates the async paradigm and _might cause problems, however removing the call to MessagePump should not make a difference. -- Arno Garrels -- 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