[twsocket] Infinite loop in TCustomWSocket.ASyncReceive

2015-04-11 Thread Nicolas MARCHAND
Hello, I use Delphi 7 with ICS V8. I would like to update an existing program wich uses TDirMon component designed by François Piette for communication between server and clients by using TWSocket and TWSocketServer. I try to reproduce step by step the example from Wilfried Mestdagh

Re: [twsocket] Infinite loop in TCustomWSocket.ASyncReceive

2015-04-11 Thread Wilfried Mestdagh
Hello, You have an OnDataAvailable event, but you don't receive anything in there. So it is immediatly called again until all data is received. So in this case you end up with infinitive loop. rgds, Wilfried Op 11-04-15 om 13:29 schreef Nicolas MARCHAND: Hello, I use Delphi 7 with ICS