Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Wilfried Mestdagh
Hello Geppy, > I send the command and the record without waiting any reply from server. Yes, but I'm thinking over and it should work. TCP respect data sequence so cannot be any problem. As soon as server get's the command (and data len with it I suppose), he switch linemode off, and set IsRcvdBi

Re: [twsocket] TeamICS web page

2005-10-27 Thread Dod
Nice to see some faces :-) FP> Ever wanted to know who are the ICS experts taking time to answer your FP> questions ? FP> Just have a look at this page: FP> http://www.overbyte.be/eng/overbyte/teamics.html FP> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html FP> -- FP> [E

Re: [twsocket] TeamICS web page

2005-10-27 Thread Arno Garrels
Francois PIETTE wrote: > Ever wanted to know who are the ICS experts taking time to answer your > questions ? > Just have a look at this page: > http://www.overbyte.be/eng/overbyte/teamics.html It's nice, however unfortunately I don't speak French. Arno Garrels -- To unsubscribe or change your

Re: [twsocket] TeamICS web page

2005-10-27 Thread Nicholas Sherlock
Arno Garrels wrote: >Francois PIETTE wrote: > > >>Ever wanted to know who are the ICS experts taking time to answer your >>questions ? >>Just have a look at this page: >>http://www.overbyte.be/eng/overbyte/teamics.html >> >> > >It's nice, however unfortunately I don't speak French. > > Cl

[twsocket] mail format

2005-10-27 Thread Wilfried Mestdagh
Hello, Never worried about this, but now I have to decode some mail formatted like this: -=A0=A0=A0=A0=A0=A0=A0=A0=A0 here some text =20 Is there some RFC describing how to decode this ? -- Rgds, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailin

Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Geppy Piloni
At 09.33 27/10/2005 +0200, you wrote: >Hello Geppy, > > > I send the command and the record without waiting any reply from server. > >Yes, but I'm thinking over and it should work. TCP respect data sequence >so cannot be any problem. As soon as server get's the command (and data >len with it I supp

Re: [twsocket] mail format

2005-10-27 Thread DZ-Jay
Hello: The RFC number escapes me right now, but I believe that the encoding you are looking at is called "Quoted-Printable". It is fairly easy to encode/decode, just follow these guidelines: - Non-ASCII characters are encoded as =HH, where HH is the character code, in hex (e.g. =20 is

Re: [twsocket] mail format

2005-10-27 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello, > > Never worried about this, but now I have to decode some mail formatted > like this: > > -=A0=A0=A0=A0=A0=A0=A0=A0=A0 here some text > =20 > > Is there some RFC describing how to decode this ? It's encoded Quoted Printable, described in one/some of the e-

Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Wilfried Mestdagh
Hello Geppy, Here is a working client example for this server: type TState = (stUser, stData); PData = ^TData; TData = record Name: string[10]; ID: integer; end; TForm1 = class(TForm) Cli: TWSocket; procedure FormCreate(Sender: TObject); procedure CliDataAvailable(

Re: [twsocket] TeamICS web page

2005-10-27 Thread Francois Piette
> > Ever wanted to know who are the ICS experts taking time to answer your > > questions ? > > Just have a look at this page: > > http://www.overbyte.be/eng/overbyte/teamics.html > > It's nice, however unfortunately I don't speak French. Maybe you only saw the french version. Select english in the

[twsocket] Small packets

2005-10-27 Thread Larini
Hi, what's the best way to send small packets (about 80 bytes) using ICS? Thanks This mail was sent by Webmail 2.5 -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visi

Re: [twsocket] Small packets

2005-10-27 Thread Wilfried Mestdagh
Hello Larini, Nothing special for small or large packets. Nagle algoritm will try to concatenate packets until MTU (nothing to do with ICS, it is TCP working like that). --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, October 27, 20

Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Geppy Piloni
At 13.16 27/10/2005 +0200, you wrote: >Hello Geppy, > >Here is a working client example for this server: [SNIP] >--- >Rgds, Wilfried [TeamICS] >http://www.overbyte.be/eng/overbyte/teamics.html >http://www.mestdagh.biz Hi Wilfried, first of all, thank you for your time and help :) Things are g

Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Arno Garrels
Geppy Piloni wrote: > data Move(Rcvd^, Data, SizeOf(Data)); // Rcvd is the pointer to the Should be Move(Rcvd^, Data, SizeOf(TData)); Length of the record Data instead of length of the variable. Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Geppy Piloni
>In your server1 example, I modified the ReceiveBinComplete method of >TClient as follows: > >procedure TClient.ReceiveBinComplete; >var >data : TData; >begin > Log(ltSystem, IntToStr(RcvdCount) + ' bytes received'); > WritePtr := 0; // get ready for next receive >

Re: [twsocket] Sending a mix of text and records through TWSocket

2005-10-27 Thread Wilfried Mestdagh
Hello Geppy, > FillChar(Data, SizeOf(TData), 0); Sorry for that. I have habitude to get rid of compiler warnings, even in a short demo where in this case it was not needed :( I'm glad it works for you now :) 1 additional note. You can also receive direct in your record. This save an additional