Re: [twsocket] Why is this list so slow?

2006-11-04 Thread DZ-Jay
On Nov 4, 2006, at 03:24, Francois PIETTE wrote: > The time frame to complete will be a few days. Sounds very reasonable. dZ. -- 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.

Re: [twsocket] HTTP Server upload prgress bar

2006-11-04 Thread DZ-Jay
On Nov 4, 2006, at 05:01, Fastream Technologies wrote: > I want the browser to display a upload progress bar while an HTTP file > upload is taking place. But when you say "browser", do you mean an ICS HttpCli application, or just a regular web browser (such as MSIE, Firefox, etc.)? If the lat

Re: [twsocket] HTTP Server upload prgress bar

2006-11-04 Thread DZ-Jay
On Nov 4, 2006, at 10:49, Fastream Technologies wrote: > So to summarize: > Can we know how many byte have been uploaded at a given on the client > side > (using javascript)? No. An "HTTP Upload" is just a POST request, which the browser handles itself. JavaScript only offers an API for clie

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread DZ-Jay
ded until all recipients are submitted. This is the most common way in which mailing lists operate. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elist

Re: [twsocket] mail from when redirecting a mail

2006-12-04 Thread DZ-Jay
ow that the message that bounced was the redirected one. > Also I assume the SMTP server's 451 is not correct in this situation. > Should be 5xx right ? No. 451 indicates that it is a transient error, not a permanent one. This means you may try again later. dZ. --

Re: [twsocket] mail from when redirecting a mail

2006-12-05 Thread DZ-Jay
On Dec 5, 2006, at 12:57, Wilfried Mestdagh wrote: > >>> Also I assume the SMTP server's 451 is not correct in this situation. >> No. 451 indicates that it is a transient error, not a permanent one. >> This means you may try again later. > > So this means since they use a wrong error number they

Re: [twsocket] TSmtpCli encoding (was: Freeze when using smtp afterrecreating itsparentform)

2006-12-23 Thread DZ-Jay
ot;smtp message header encoding" or something like that. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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

[twsocket] OT: Merry Christmas

2006-12-26 Thread DZ-Jay
Hello: I just wanted to wish Francois and everybody here in this list a very happy Christmas and a prosperous new year! dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread DZ-Jay
encode the file using MIME Base64 encoding if its binary, and quoted-printable if its plaintext. Actually, you can use Base64 for both without any problems. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings

Re: [twsocket] Still problems while sending SMTP

2007-01-16 Thread DZ-Jay
ues that may occur are predictable and substantially less. Building this logic in a simple state-machine using OnRequestDone makes it fairly easy to make your application powerful and efficient -- the reason we always push for the use of async methods. dZ. -- DZ-Jay [TeamICS

Re: [twsocket] MailSndAsynch Question (newbie)

2007-01-28 Thread DZ-Jay
ot allow you to send e-mail to an outside address from your network. This is typical of ISPs: you must send e-mail using the SMTP server of the ISP you are using to connect to the Internet. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubs

Re: [twsocket] Buffer overflow in SMTP

2007-03-17 Thread DZ-Jay
On Mar 16, 2007, at 15:51, David Colliver wrote: > It certainly looks like email addresses. I know that 4000 bytes are > unusual > but this is how a lot of software tends to suffer from exploits like > this, > as 4000 bytes is not regularly tested for. Its the responsibility of the application

Re: [twsocket] Problem with HTTPCli.Get

2007-03-30 Thread DZ-Jay
the HTTP protocol is state-less, there is no way for the server to request authentication credentials on the first request once it has been sent, it can only respond with an error. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsub

Re: [twsocket] Threading question

2007-04-06 Thread DZ-Jay
dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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

Re: [twsocket] httpcli v6 "bad request"

2007-04-06 Thread DZ-Jay
s, then you must not set "follow", and perform the redirection using a new PostAsync request to the new location. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread DZ-Jay
ne that I will let you know. > > I have solved it for now by with > > httpClient.FPath := stringreplace(httpclient.fpath,' > ','%20',[rfreplaceall]); > -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe o

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread DZ-Jay
uld go at the point of actually sending the response, to make sure that *any* URL requested is encoded properly, regardless of where it was captured (user, redirect response, etc.). dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscr

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread DZ-Jay
services provided by the server, in this case the ASP framework). dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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

Re: [twsocket] Httpcli cookie

2007-04-22 Thread DZ-Jay
cookie manager to the HttpCli component. I think Francois meant for an additional ICS component that browser-like applications could use in addition to HttpCli: Your application gets the cookie information from the event, and feeds it to the cookie manager. dZ. --

Re: [twsocket] httpcli v6 "bad request"

2007-04-23 Thread DZ-Jay
ia a new event. However, Francois had mentioned that the component should do it itself, and in that case a smart check is required (as opposed to the simple space substitution), but it should be an optional feature enabled by a flag. dZ. -- DZ-Jay [TeamICS] http://w

Re: [twsocket] Secure FTP

2007-04-26 Thread DZ-Jay
ecure communications between known, trusted networks, and as such, it avoids the overhead of generalized mechanisms. The problem is that most people see "Secure" in the name and automatically think its a one-size-fits-all. But arguably, the same could be said for SSL. dZ. --

Re: [twsocket] Strange Vista winsock behavior--any way to by-pass?

2007-05-05 Thread DZ-Jay
uot; version for any high-performance communications, and force you to buy the "server" version. *That* I would believe from Microsoft. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TW

Re: [twsocket] euro conversion in TMimeDecode

2007-05-07 Thread DZ-Jay
where >> can I get these codes ? > >> -- >> Rgds, Wilfried >> http://www.mestdagh.biz > > > -- > 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.over

Re: [twsocket] Unconventional use of HTTP...

2007-05-13 Thread DZ-Jay
On May 13, 2007, at 05:45, Erik Brännlund wrote: > Hi! > > I'm trying to send a small JPEG- image over TWSocket directly. If I > send a > HTML coded page it works but not for an image. > > This is what I send. > > l.Add('HTTP/1.1 200 OK' + #13#10);// l is TStringList; > l.Add('Conten

Re: [twsocket] birthday

2007-07-21 Thread DZ-Jay
On Jul 20, 2007, at 11:07, Wilfried Mestdagh wrote: > Hello, > > A happy birthday for you Francois ! ¡FELIZ CUMPLEAÑOS, FRANCOIS! Happy Birthday and best wishes from Florida, USA! dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.o

Re: [twsocket] Httpclient

2007-07-22 Thread DZ-Jay
tract_resources(document); 4. For i := 0 To (ResourceList.Count - 1) 4.a. HEAD resource[i]; 4.b. TOTAL_BYTES = TOTAL_BYTES + Content-Length; 5. Next; dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your s

Re: [twsocket] TWSocket for .Net and C#?

2007-08-06 Thread DZ-Jay
I know, it is not trivial to compile a complex component like TWSocket into managed code. You can try, but I'm not sure it will work without modifications. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your

Re: [twsocket] TWSocket for .Net and C#?

2007-08-06 Thread DZ-Jay
correct. The reverse is also true: assemblies built using VS.NET (or any other .NET compiler) are usable with Delphi.NET. This is why the entire framework (written mostly on C#) is available without translation from Delphi.NET. dZ. -- DZ-Jay [TeamICS] http://www.over

Re: [twsocket] TWSocketThrdServer - Bogus OnDataAvailable triggeredwhen Closed.

2007-10-03 Thread DZ-Jay
or am I wrong? dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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

Re: [twsocket] Using SourceForge for ICS ?

2007-10-05 Thread DZ-Jay
n the software to block each other. That said, Francois, whether you choose to go to SourceForge or not, I strongly recommend you check out SVN: You will not regret it, and after doing your first revert or merge, you'll wonder how you ever worked without it! dZ. --

Re: [twsocket] Using SourceForge for ICS ?

2007-10-07 Thread DZ-Jay
On Oct 7, 2007, at 14:57, Arno Garrels wrote: > Isn't it safe to use the Copy-Modify-Merge solution, described in the > online-help ? Yes, it is very safe. Besides, all merging occurs on your working directory, and will not be committed automatically. And also, commits are transactional, so

Re: [twsocket] TWSocketThrdServer friendly notice when disconnecting.

2007-10-11 Thread DZ-Jay
Thanks, Wilfried. That's what I'm doing now. However, I'm doing it from the end of the Execute() method of the worker thread, right before destroying the server, like this: Procedure WorkerThread.Execute; Begin _InitializeSrv(); // create Try Srv.MessageLoop(); Finally Try

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread DZ-Jay
On Oct 11, 2007, at 06:47, Arno Garrels wrote: > Iterating thru Srv.Clients is not the way to go!! It is not > thread-save and will most likely throw strange AVs. Instead > iterate thru the thread-list and post a custom message to each > thread, the inside the thread iterate thru each thread's >

Re: [twsocket] Over TWSocketServe

2007-10-12 Thread DZ-Jay
se of thread synchronization, ans still able to process hundreds of clients concurrently. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/ma

Re: [twsocket] problem with TCP server

2007-10-15 Thread DZ-Jay
when the entire data has been received. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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

Re: [twsocket] problem with TCP server

2007-10-15 Thread DZ-Jay
you can handle in OnLineLimitExceeded event). dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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

Re: [twsocket] TWSocketThrdServer

2007-10-16 Thread DZ-Jay
tDataAvailable event contains a reference to the actual Client object that received the data. The Sender will represent the ClientThread which owns that client. I hope this is clear, dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

[twsocket] ICS v6 migration considerations

2007-10-17 Thread DZ-Jay
Hello: We have a few applications using ICS v5, mostly written in D2006/7, but some in D5. I would like to move to ICS v6, since that seems to be where major development is taking place, and also because I would like to take advantage of its new hidden window architecture. However, I'm

Re: [twsocket] ICS v6 migration considerations

2007-10-17 Thread DZ-Jay
On Oct 17, 2007, at 06:52, Arno Garrels wrote: > function TFoo.MsgHandlersCount : Integer; > begin > Result := 1 + inherited MsgHandlersCount; > end; > > procedure TFoo.AllocateMsgHandlers; > begin > inherited AllocateMsgHandlers; > FMsg_WM_FOO := FWndHandler.AllocateMsgHandler(Self); >

Re: [twsocket] TWSocketThrdServer

2007-10-17 Thread DZ-Jay
Client[i].SendStr(str); > Next > Ok? Property ClientThread.Clients is the collection of clients on that thread. The "Client" argument in OnClientDataAvailable is the client that received the data and triggered the event. Or am I not understanding your question? dZ. -

Re: [twsocket] TWSocketServer Client.Shutdown(1) does not destroy it

2007-10-18 Thread DZ-Jay
On Oct 18, 2007, at 02:35, Arno Garrels wrote: > Your code does not guarantee that all data will be sent > to the client. Make sure that ShutDown() is called after > all data has been delivered to winsock. Something like > that: Thanks Arno. But now I'm confused: It was because I was told to c

Re: [twsocket] TWSocketThrdServer

2007-10-18 Thread DZ-Jay
to the Wiki and post instructions, samples, or help topics based on your experiences. Just contact Francois for an account. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] How should an ICS web server treat this?

2007-11-11 Thread DZ-Jay
ey/value pairs. In my experience, the URL is not parsed by the web server, just converted back to a query-string so that the standard mechanisms can continue being used. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] How should an ICS web server treat this?

2007-11-11 Thread DZ-Jay
ver doesn't need to care. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] FTPClient ftpdir.txt

2007-11-22 Thread DZ-Jay
our, minutes > bur > not seconds. So Is it a way to get this or have I to use MTDM for each > file > of directory ? I believe that it depends on the server implementation of the DIR command dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/te

Re: [twsocket] FTP Failure

2007-11-24 Thread DZ-Jay
On Nov 24, 2007, at 17:46, David Bridges wrote: > Can you use passive mode with the ICS FTP component? If so how > difficult is > it to implement? Hello: Just set the FtpCli.Passive property to True. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng

[twsocket] Exceptions ignored in OnDataAvailable method

2007-11-29 Thread DZ-Jay
Since the event delegate performs some background stuff before triggering the event, shouldn't the Exception block call HandleBackGroundException() to trigger OnBgException and give a chance to the application to respond and abort the connection? dZ. -- DZ-Jay [TeamICS]

Re: [twsocket] TWSocketServer and backlog

2007-11-29 Thread DZ-Jay
on your system running > slow? > Perhaps you have a bad driver or resource conflict with your NIC? > > Just some thoughts... > > Hoby -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] TWSocketServer and backlog

2007-11-29 Thread DZ-Jay
On Nov 29, 2007, at 06:10, Wilfried Mestdagh wrote: > Hello DZ-Jay, > > So conclusion is that increasing the backlog does: >- decrease the performance for accepting connections >- decrease the overall performance of the application This seems to be the conclusion of

Re: [twsocket] TWSocketServer and backlog

2007-11-30 Thread DZ-Jay
On Nov 29, 2007, at 14:20, Arno Garrels wrote: > Hard to tell, a good compromise is using TWSocketServer given > any lengthy task is run in worker threads. I think separating > socket IO work from other tasks by using worker threads for those > tasks considered "lengthy" is the way to go. The def

Re: [twsocket] Newbee writing webcam utility

2007-12-01 Thread DZ-Jay
t method actually transfers the file to the local hard > drive... Can't get much easier than that... I said I didn't recall if HttpCli did the decoding for you. So it does, good for you. :) dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Exceptions ignored in OnDataAvailable method

2007-12-01 Thread DZ-Jay
ponent would be in a strange state. Perhaps wrapping those handlers in a try..except block would be better. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please got

Re: [twsocket] Webserver with local connections only

2007-12-02 Thread DZ-Jay
tion so > that > the server application knows it comes from your own application. The request header can be forged easily. Perhaps you should check the incoming connection IP address (on the OnSessionAvailable event) and reject it if it's not one of the acceptable set.

Re: [twsocket] TWSocket transliterating tabs to spaces (nevermind)

2007-12-04 Thread DZ-Jay
rels wrote: > Arno Garrels wrote: >> be added a line "FLineMode := False;" > > "FLineEdit := False;" of course! (AV due to the second beer). > > -- > Arno Garrels -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread DZ-Jay
On Dec 6, 2007, at 04:28, Francois Piette wrote: > For some reason, you call PutDataInSendBuffer after it has already been > freed. After the object was freed, or the buffer was freed? Keep in mind that I just called WSocketThrdServer.Free, so it was problably destroying the object while it w

Re: [twsocket] WSocketTS won't build in d2

2007-12-06 Thread DZ-Jay
On Dec 6, 2007, at 04:36, Wilfried Mestdagh wrote: > from the top of my head (could be wrong for the TagMsg): > > procedure FreeAndNil(var Obj: TObject); > begin > Obj.Free; > Obj := nil; > end; > > LongWord is a Cardinal > TagMsg is TMessage I don't know in D2, but in D5+ TMessage is

Re: [twsocket] WSocketTS won't build in d2

2007-12-06 Thread DZ-Jay
On Dec 6, 2007, at 04:36, Wilfried Mestdagh wrote: > procedure FreeAndNil(var Obj: TObject); > begin > Obj.Free; > Obj := nil; > end; begin if (Obj <> Nil) Then Obj.Free; Obj := Nil; End; > LongWord is a Cardinal This is correct. dZ. -- To uns

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread DZ-Jay
On Dec 6, 2007, at 05:29, Francois Piette wrote: > Make sure all connections are closed/aborted before freeing the server > object. According to the TWSocketThrdServer code, this is what it does in its destructor... > And as usual, at the application level don't store a reference to a > connec

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread DZ-Jay
all clients when destroyed. If this is not true, then I can build it into my application, no problem; but if it is true, then that means there may be something wrong in the code. I'll see what I can find when I get to the office later on. dZ. -- DZ-Jay [TeamICS] h

Re: [twsocket] Simple TWSocket listener question

2007-12-11 Thread DZ-Jay
is designed for exactly that > purpose? Well, for only a single client connection, I thought it would be overkill to use TSocketServer. I'm also trying to become more familiar with the lower level component. dZ. -- DZ-Jay [TeamICS] http://www.overbyte

Re: [twsocket] Closing connection in OnDataAvailable retriggers event

2007-12-13 Thread DZ-Jay
"partial line"? I thought that on LineMode OnDataAvailable only fires when the line terminator is found...? dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing li

Re: [twsocket] Closing connection in OnDataAvailable retriggers event

2007-12-13 Thread DZ-Jay
On Dec 13, 2007, at 06:02, Wilfried Mestdagh wrote: > jes correct, except when session is closed at the moment that there is > already some data in the buffer. Oh, I understand: I guess this is the reason why OnSessionClosed calls TriggerDataAvailable (I knew there was a valid reason for this)

Re: [twsocket] Question about changing some UDP application

2007-12-23 Thread DZ-Jay
not address your issue, then could you please rephrase your problem with more precise details, as we are not understanding it properly. Thanks, dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for

Re: [twsocket] [OT] Merry Christmas !

2007-12-24 Thread DZ-Jay
¡Feliz Navidad y un Próspero Año Nuevo a todos! * * Merry Christmas and a prosperous new year to all! dZ. On Dec 24, 2007, at 02:50, Francois Piette wrote: > Hi everybody ! > > I want to wish a Merry Christmas and a Happy New Year to you and your > families. > > -- > [EMAIL PROTECTED] >

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread DZ-Jay
if AuthType = smtpAuthNone then Helo else Ehlo; end; smtpHelo: MailFrom; smtpEhlo: Auth; // Rset will return to this point smtpAuth, smtpRset: MailFrom; ...

Re: [twsocket] Memory leaks...

2008-01-07 Thread DZ-Jay
ot;smtp component not ready" thread. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Question.

2008-01-07 Thread DZ-Jay
y descending from the class and overriding the appropriate methods, instead of changing the code on the HttpProt unit itself. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list plea

Re: [twsocket] Question.

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 14:45, Andre Paradis wrote: > So you confirm, I don't have any other way to support a new key in the > Http > Header. I'm not sure what it is that you are after... dZ. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elis

Re: [twsocket] Question.

2008-01-07 Thread DZ-Jay
p > Header, how > do you suggest supporting that? You could handle the OnRequestHeaderStart or OnRequestEnd events and inject the additional headers you need. These events will be triggered right before or after the response headers are sent, respectively. dZ. --

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread DZ-Jay
se the events provided to call the next method. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] pop3 component not ready - Bug in TPop3Cli

2008-01-18 Thread DZ-Jay
On Jan 17, 2008, at 07:34, [EMAIL PROTECTED] wrote: > it didnt fix the issue, got a pop3 not ready exception today. Can you post some code so that we know how you tried to fix it? dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html --

Re: [twsocket] How to return a socket error

2008-01-22 Thread DZ-Jay
Hello: Are you creating your own socket server or using TWSocketServer? -dZ. Bart Thompson wrote: > I am using a TWSocket in an application where it acts like a server > socket (using listen and accept). > > I need to return a 10061 (connection refused error) if there are too > m

Re: [twsocket] How to return a socket error

2008-01-23 Thread DZ-Jay
TWSocketServer because it does this already in a more elegant way: If the maximum number of connections are opened, it will accept the connection, and return a protocol error (e.g. "500 Server is busy.") in the welcome banner and immediately close the connection. dZ. --

Re: [twsocket] How to simulate 10053?

2008-01-24 Thread DZ-Jay
Unplug the network cable midway through transaction? dZ. S.Korotky wrote: > Hello All! > > Is there a way to generate 10053 error from ICS? > > Calling Abort does close a connection gracefully as well as CloseDelayed > (except for a dropped buffered data, if any). > > Some soft, such a

Re: [twsocket] AN: New e-mail protocol (spam free and more!)

2008-02-07 Thread DZ-Jay
il protocol, highly > immune > to the SPAM, with data encryption and compression, with sender ID > validation, etc. BUT not compatible with the standard email (SMTP). -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your s

Re: [twsocket] AN: New e-mail protocol (spam free and more!)

2008-02-07 Thread DZ-Jay
l?) then it *is* susceptible to SPAM and abuse. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] ICS won't work anymore...

2008-02-27 Thread DZ-Jay
Ko Brink wrote: > I tested it and got some wierd binary data returned. > but when i set the request version to 1.1 i get the page. > so try to set httpcli->RequestVer = "1.1"; I just tried a request with using HTTP/1.0 (a manual request, not using ICS), and I received the XML page. I doubt that

Re: [twsocket] Newbe needs help with sending HTTP password

2008-03-07 Thread DZ-Jay
Hello: Standard HTTP username and password usage in URI is: http://username:[EMAIL PROTECTED]/ dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On Mar 7, 2008, at 05:53, Bob Reeves wrote: > Hi, > > I have managed to get a

Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-26 Thread DZ-Jay
and SmtpProt is intended to be an SMTP client. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On Mar 25, 2008, at 15:27, Bjørnar Nielsen wrote: > New property: > > property XAutoGeneratedReply : Boolean read > FXA

Re: [twsocket] Proposal for new feature in OverbyteIcsSmtpProt.pas

2008-03-26 Thread DZ-Jay
Bjørnar Nielsen wrote: > I did not know of this header-field. > > Why not add properties for both? The xautogeneratedreply works for my purpose > and the mailservers I have testet against. > > Regards Bjørnar Well, because delivery loops are a server problem, and a mail user agent not only sho

Re: [twsocket] Connecting and Disconnecting

2008-04-02 Thread DZ-Jay
Éric Fleming Bonilha wrote: > Hello Wilfried, > > Ok, I will make that way, but do you know the implications of doing the way > I said? It can cause the host to make some half-closed connections? The implication is that the TWSocket control may not have entered the proper state and still be in

Re: [twsocket] Proposal for new content-type in function DocumentToContentType in OverbyteIcsHttpSrv.pas

2008-04-08 Thread DZ-Jay
Apache does, it can be easily extended and maintained. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocke

Re: [twsocket] Proposal for new content-type in function DocumentToContentType in OverbyteIcsHttpSrv.pas

2008-04-10 Thread DZ-Jay
you depend on the host computer having the proper types registered. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] bug in TCustomWSocket? - 100% cpu; continues calls to OnDataAvailable while no data was received

2008-04-12 Thread DZ-Jay
you call from the event handler to see if any of them ultimately call the message pump. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/

Re: [twsocket] Post command...

2008-04-15 Thread DZ-Jay
e *server* needs to give the client the page to reload it. Sorry, dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/lis

Re: [twsocket] SMTPOpen failing, Why?

2008-04-16 Thread DZ-Jay
Veit Zimmermann wrote: > ->EHLO GPS_Plus > <-250-relay.infotn.it > <-250-8BITMIME > <-250-PIPELINING > <-250-DSN > <-250-ENHANCEDSTATUSCODES > <-250-HELP > <-250-XLOOP 887A9C2E9DC36F355DA1AF23F4FAA02 > <-250-ETRN > <-250-N0-SOLICITING > <-250 SIZE 0 This is the list of extended commands supported

Re: [twsocket] SMTPOpen failing, Why?

2008-04-16 Thread DZ-Jay
> Depending on if the user supplies a password or not I set it to one of > these values. It was on smtpAuthAutoSelect, which seems to trigger the > "->AUTH CRAM-MD5" request. So is this a bug of TSmtpCli? Should it send > an AUTH request, if the command is not on the list? What is the default >

Re: [twsocket] SMTPOpen failing, Why?

2008-04-16 Thread DZ-Jay
Arno Garrels wrote: > I think it should since sometimes mail server do not publish all > available extensions in the EHLO response. So even if there's no > AUTH found in the list TSmtpCli stupidly does a trial and error. > This procedure has been suggested by Jake Traynham. > It doesn't hurt anyway

Re: [twsocket] SMTPOpen failing, Why?

2008-04-16 Thread DZ-Jay
Arno Garrels wrote: > Huch, I am Arno? I said that an attempt to send the mail even though > authentication failed were an easy task from user code. > Also after the EHLO-response has been received property > AuthTypesSupported holds a list of auth-types supported by the *server. > If that list

Re: [twsocket] SMTPOpen failing, Why?

2008-04-17 Thread DZ-Jay
ion. I think Arno also agreed that this is the proper behaviour. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] detecting circular mail

2008-04-20 Thread DZ-Jay
nsport servers in transit to include all "X" headers untouched. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] detecting circular mail

2008-04-20 Thread DZ-Jay
On Apr 20, 2008, at 10:03, DZ-Jay wrote: > The common way is for the SMTP server (or Mail Delivery Agent) to add > an additional header with the sender's address, then ignore any > messages where the recipient is the same as the value in that header. When I said the "sender&

Re: [twsocket] detecting circular mail

2008-04-20 Thread DZ-Jay
On Apr 20, 2008, at 12:05, Wilfried Mestdagh wrote: > Hello DZ-Jay, > >> Plus, the RFC requires transport servers in transit to include all "X" >> headers untouched. > > So this also means if I add a X-Loop header that another server leave > it > untouche

Re: [twsocket] detecting circular mail

2008-04-20 Thread DZ-Jay
On Apr 20, 2008, at 14:11, DZ-Jay wrote: > I guess you can always check for multiple instances of the header and > avoid delivering to any addresses in any of them (after all, any server > who adds an X-Loop header is trying to make sure not to have the > message re-delivered to

Re: [twsocket] THttpCli: default webpage name

2008-05-06 Thread DZ-Jay
[EMAIL PROTECTED] wrote: > If THttpCli is used to get a webpage with no document name specified, > only directory ("www.codegear.com/products") - is it possible to find out > the default document name? Whether it be "index.html" or "main.html" or > just some custom name specified on the webserver?

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread DZ-Jay
wayne forrest wrote: > Hello, > > After I have successfully sent the Email I need to delete the temp Files ( > attachments ); > > How do I know if the mail was sent OK; After sending the message and issuing the QUIT command, the OnRequestDone is fired with no error with the Request = smtpQuit.

Re: [twsocket] THttpCli: default webpage name

2008-05-08 Thread DZ-Jay
;) when no filename is given. In such cases, the server does not divulge the filename. dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi

Re: [twsocket] [OT] SMTP Client - Delete Temp files -

2008-05-08 Thread DZ-Jay
ion' section. Check the help file for more information. If you are going to use a static method, then I suggest you create a static variable (singleton) representing the file list, and send a reference of it to the SendMail() method. Otherwise, it may be cleaner to just create an instance of your

Re: [twsocket] mx lookup

2008-05-08 Thread DZ-Jay
Wilfried Mestdagh wrote: > Hello, > > To find out which is the smtp server I have to send mail to for a > particular domain I can use the MXPreference[n] property of DnsQuery > component. But in what case there can be multiple results ? (I tryed a > few and get only 1 result 'answer#1 in demo prog

Re: [twsocket] mx lookup

2008-05-08 Thread DZ-Jay
Wilfried Mestdagh wrote: > thanx Dz and Arno, > > some more questions. What about the MXPreference? For example if I do a > mx lookup for sonal.be it returns mail.sonal.be with value 10 and > mxl.sonal.be with value 50. Does this mean one of the 2 is preferred? > and if so the one with the lowest

  1   2   3   >