Re: [twsocket] [re] databuffer is cut off

2006-01-19 Thread Wilfried Mestdagh
Hello albert, thanks for feedback. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, January 19, 2006, 21:51, albert drent wrote: > The CloseDelayed in the ondatasent was the solution THANKS!!! It's > sooo logical I'm ashamed I didn'

Re: [twsocket] [re] databuffer is cut off

2006-01-19 Thread albert drent
The CloseDelayed in the ondatasent was the solution THANKS!!! It's sooo logical I'm ashamed I didn't see that. The crlf in the encrypted data is taking care of, but you're right, this was an isue. Thank you all again. Albert -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] [re] databuffer is cut off

2006-01-19 Thread Francois PIETTE
>> Display(IntToStr(SendStr(Encrypt(AnswerData.CommaText) + #13#10))+'bytes >> sent'); >> CloseDelayed; > > There could be 2 problems here. The first is Close already mentioned by > Arno, and the other is Encrypt. Are you sure #13#10 will be never in > your encrypted string ? Well seen. -- Contr

Re: [twsocket] [re] databuffer is cut off

2006-01-19 Thread Wilfried Mestdagh
Hello Albert, > Display(IntToStr(SendStr(Encrypt(AnswerData.CommaText) + #13#10))+'bytes > sent'); > CloseDelayed; There could be 2 problems here. The first is Close already mentioned by Arno, and the other is Encrypt. Are you sure #13#10 will be never in your encrypted string ? --- Rgds, Wilfr

Re: [twsocket] [re] databuffer is cut off

2006-01-19 Thread Francois Piette
drent" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 18, 2006 11:40 PM Subject: [twsocket] [re] databuffer is cut off > I am using ICS, the components I use are TWSocketServer and TWSocket. I try > to send a large string with > > Display(IntToStr(SendStr(En

Re: [twsocket] [re] databuffer is cut off

2006-01-18 Thread Arno Garrels
albert drent wrote: > I am using ICS, the components I use are TWSocketServer and TWSocket. I > try to send a large string with > > Display(IntToStr(SendStr(Encrypt(AnswerData.CommaText) + #13#10))+'bytes > sent'); CloseDelayed; > > The bytecount tells me that all is sent. But on the receive it

[twsocket] [re] databuffer is cut off

2006-01-18 Thread albert drent
I am using ICS, the components I use are TWSocketServer and TWSocket. I try to send a large string with Display(IntToStr(SendStr(Encrypt(AnswerData.CommaText) + #13#10))+'bytes sent'); CloseDelayed; The bytecount tells me that all is sent. But on the receive it is cut of... procedure TDM.C