Yes, it looks that way. Therefore, the problem is that he is processing it before checking he has received it all, as Guillaume said.
Dan ----- Original Message ----- From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Friday, August 19, 2005 3:52 PM Subject: Re: [twsocket] Hi, I've a question > Maybe ProcessMessage(s) is a call to a function to process the received > data and not Application.ProcessMessage ? Juan can you explain ? > > --- > Rgds, Wilfried > http://www.mestdagh.biz > > Friday, August 19, 2005, 16:15, Francois Piette wrote: > >>> procedure TFVisor.overlayListenDataAvailable(Sender: TObject; ErrCode: >>> Word); >>> begin >>> ... >>> processMessage(s); >>> ... >>> end; > >> That is the problem. You defenitely can't call ProcessMessages from most >> of the event handler of ICS >> components and for sure not from OnDataAvailable. > >> Why do you think you need to call ProcessMessages ? > >> -- >> [EMAIL PROTECTED] >> http://www.overbyte.be > > >> ----- Original Message ----- >> From: "Juan Pablo Franco" <[EMAIL PROTECTED]> >> To: "Wilfried Mestdagh" <[EMAIL PROTECTED]> >> Cc: <twsocket@elists.org> >> Sent: Friday, August 19, 2005 3:44 PM >> Subject: Re: [twsocket] Hi, I've a question > > >>> Hi Wilfried, >>> >>> The problem is present because I test of data in the sent machine and >>> the >>> data not is the same in Receive machine. >>> If I send 30Kb of data, in the other machine receive 7Kb only; and I >>> don't >>> know what is the problem. >>> Send you part of code of application, but I know that information is >>> sent >>> and not all receive. >>> Thanks again. >>> Bye. >>> Juan Pablo Franco >>> >>> >>> SENT MACHINE >>> overlaySocket.SendStr(Msg); >>> >>> >>> RECEIVE MACHINE: >>> procedure TFVisor.overlayListenDataAvailable(Sender: TObject; ErrCode: >>> Word); >>> var >>> Buffer : array [0..50000] of char; >>> Src : TSockAddrIn; >>> Len, SrcLen: Integer; >>> s:string; >>> begin >>> overlayListen.BufSize := 16384; >>> SrcLen := SizeOf(Src); >>> overlayListen.Receive(@Buffer, SizeOf(Buffer)); >>> s:=StrPas(Buffer); >>> >>> processMessage(s); >>> ... >>> end; >>> >>> >>> >>> >>> At 10:16 19/08/2005, you wrote: >>> >Hi Juan, >>> > >>> >Yes please tell me what the problem is. BTW if you ask on mailing list >>> >I >>> >will answer too, and also lots of other people will help there. >>> > >>> >--- >>> >Mvg, Wilfried >>> >http://www.mestdagh.biz >>> > >>> > >>> >--- Original message from Juan Pablo Franco --- >>> >Date: Friday, August 19, 2005 >>> >Time: 15:04 >>> >Subject: Hi, I've a question >>> > >>> > > Hi partner, I reading your paper about Receiving High speed data and >>> > > i >>> > > don't use this example in my application. >>> > > When I process message I can't read data sent. The data sent is a >>> > > string, >>> > > many strings. Puntually, 360 strings per second and one string >>> > > conteined >>> > > many information. >>> > > Can you help me? >>> > > I'm sorry, but I am from Argentina and my english not is good. >>> > > Bye and thanks. >>> > >>> > > Juan Pablo >>> >>> -- >>> To unsubscribe or change your settings for TWSocket mailing list >>> please goto http://www.elists.org/mailman/listinfo/twsocket >>> Visit our website at http://www.overbyte.be > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be