Re: [twsocket] OnDataAvailable non-lined mode question

2006-02-13 Thread Wilfried Mestdagh
Hello Dod, Using line mode OFF, if I do for example a .Send of 500 bytes, the receiver should get just one OnDataAvailable event. Mostly, but not for sure. You can also receive more bytes if the sender sends a second packet a little later. TCP does not respect packet boundary. If it will

Re: [twsocket] Encode URL

2006-02-13 Thread DZ-Jay
On Feb 12, 2006, at 22:15, David A. G. wrote: The URL must be encoded because may have illegal characters: The user may enter an URL like: http://www.site.com/fol 1/fol 2/file 1.jpg?par=sdf|dfgó.jpg This URL must be encoded as:

Re: [twsocket] Encode URL

2006-02-13 Thread David A. G.
Yes dZ you have right, if you have a Param containing reserved characters always must be PRE encoded (I can use Base64 or a Post method). But my problem is just an URL containing characters valid for standard Filenames. ...I was finding a function to do something like IE does in the address bar.

Re: [twsocket] OnDataAvailable non-lined mode question

2006-02-13 Thread Wilfried Mestdagh
Hello Dod, Maybe another apprach is to use always a timeout and reset it every time data is received. But then you have to send keep alive packets to not get disconnected in case there is no real traffic needed. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Fast Pings ! Delphi-BCB

2006-02-13 Thread Fastream Technologies
Here is my code: if(pingerCount) pingers = new ::TPingThread*[pingerCount]; for(int i = 0; i pingerCount; ++i) { pingers[i] = new ::TPingThread(True); // create suspended PingAddThread(pingers[i]-ThreadID); // keep threadid

Re: [twsocket] Fast Pings ! Delphi-BCB

2006-02-13 Thread Angus Robertson - Magenta Systems Ltd
This is my demo trace route application you are trying to convert. I cannot understand completely these parts: for I := 0 to Pred (T) do-(Pred(T)?) find PingThreadList, (Succ??) Pred (T) means T-1 but may be more efficient for the compiler, Succ (T) means T+1, ditto.

[twsocket] Developing a mail client

2006-02-13 Thread Marius van Tubbergh
Hi ICS team, If I plan to develop a simple mail client with SMTP / POP3 capabilities (of course) is there any comparisons available between ICS and Indy9/10 regarding this topic? Please feel welcome to share your opinion / knowledge. Thanks! -- To unsubscribe or change your settings for

Re: [twsocket] Developing a mail client

2006-02-13 Thread Francois PIETTE
If I plan to develop a simple mail client with SMTP / POP3 capabilities (of course) is there any comparisons available between ICS and Indy9/10 regarding this topic? Comparing ICS with any other product here is out of topic. Move your question to a public forum if you need this kind of

[twsocket] Duplicate listing in TFtpServer

2006-02-13 Thread Marc
Hi all I have a small problem with the V6 version and Delphi 7 Clean install, tested with the tftpserver demo. When a directory have a long listing (like 100 files and directories) I got this problem with the listing more file at the top -rw-rw-rw- 1 ftp ftp 5981 Nov 21 2002