Re: [twsocket] Help with SmtpCli

2006-06-18 Thread Arno Garrels
If I understand you correctly transfer hangs. Are you sure that you pasted the last log lines, wasn't there a line .? Have you tried another SMTP server yet? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Jock Terry wrote: I have a application that uses ics

Re: [twsocket] About custom messages in V6 ****

2006-06-21 Thread Arno Garrels
String messages for use by applications. Greater than 0xReserved by the system for future use. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Frans van Daalen [EMAIL

Re: [twsocket] About custom messages in V6 ****

2006-06-21 Thread Arno Garrels
manage to create the strings from component name or something like that. Just an idea... -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, June 21, 2006 9:58 AM

Re: [twsocket] About custom messages in V6 ****

2006-06-21 Thread Arno Garrels
of messages (actually it is a constant equal to 100) handled by a single window. Great idea! -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, June 21, 2006 8:53 PM

Re: [twsocket] 2006 Developer Conference in Northern California

2006-06-21 Thread Arno Garrels
applications are better done with blocking sockets, time to clear them up. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- [EMAIL PROTECTED] The author for the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http

Re: [twsocket] 2006 Developer Conference in Northern California

2006-06-22 Thread Arno Garrels
requirements. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, June 21, 2006 11:33 PM Subject: Re: [twsocket] 2006 Developer

Re: [twsocket] 2006 Developer Conference in Northern California

2006-06-22 Thread Arno Garrels
. Of course, my new MT server therefore has both a dynamic thread pool as well as a dynamic client pool per thread. Threads and clients can be preallocated. Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent

[twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
(Sender: TObject); begin PostMessage(Server1.Handle, WM_QUIT, 0, 0); FListenThread.WaitFor; FreeAndNil(FListenThread); = here the Server1.Handle is not 0! Server1.ThreadAttach; // so raises an exception end; Any idea? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
- From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June 22, 2006 3:20 PM Subject: [twsocket] V6 ThreadDetach #2 I have the following problem in V6: constructor TListenThread.Create(AServer: TMtWSocketServer); begin inherited Create

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
and btnStop. Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June 22, 2006 4:20 PM Subject: [twsocket] V6 ThreadDetach #2 I have the following problem in V6: constructor TListenThread.Create(AServer

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
Arno Garrels wrote: Fastream Technologies wrote: I had the same problem. In my case, I had to post a message before ending the thread. There was pending messages that called GetHandle which called AllocateHwnd()!!! GetHandle isn't called in my case. There are no connections, I'm just

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
. However I cannot imagine that exchanging WaitFor by your method can change anything basically. Probably the strange GetHandle() getter is the culprid? Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
the component windowless) you cannot be sure that the component will not allocate another window handle somewhere in the background after that call to ThreadDetach. - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
Francois PIETTE wrote: Not sure what you mean. The problem is that even if you call ThreadDetach (which is to make the component windowless) you cannot be sure that the component will not allocate another window handle somewhere in the background after that call to ThreadDetach. I don't

Re: [twsocket] V6 ThreadDetach #2

2006-06-22 Thread Arno Garrels
Arno Garrels wrote: Francois PIETTE wrote: Not sure what you mean. The problem is that even if you call ThreadDetach (which is to make the component windowless) you cannot be sure that the component will not allocate another window handle somewhere in the background after that call

Re: [twsocket] V6 ThreadDetach #2

2006-06-23 Thread Arno Garrels
- From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, June 22, 2006 9:37 PM Subject: Re: [twsocket] V6 ThreadDetach #2 Arno Garrels wrote: Francois PIETTE wrote: Not sure what you mean. The problem is that even if you call ThreadDetach

Re: [twsocket] SMTP and NTLM authentication

2006-06-23 Thread Arno Garrels
Gies,Brad wrote: Does the SmtpCli and SyncSmtpCli support NTLM authentication, and if so, what setting needs to be enabled to use it? It's not yet implemented. The THttpCli already uses NTLM authentication, so it should not be very difficult to make the TSmtpCli NTLM-capable as well. --- Arno

Re: [twsocket] V6 ThreadDetach #2

2006-06-23 Thread Arno Garrels
the return value of PostMessage and raising an exception if necessary, in this case it propably would be something like Invalid handle that would make much more sense finding the bug, what do you think? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- [EMAIL

Re: [twsocket] WSocket - HOW DO I...?

2006-06-24 Thread Arno Garrels
it will be hard to get tis working. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Look at this... full dump from IRIS: http://komputery.info.pl/PACKETS/fulldump_lan_ok.txt - packets are being sent in one... whole BF2CC PL command answer was sent at once

Re: [twsocket] Mime decoding

2006-06-28 Thread Arno Garrels
attachment can be identified if it has either the filename or the name property or both assigned in its part header: Content-Type: application/x-zip-compressed; name=my.zip Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=my.zip --- Arno Garrels [TeamICS] http

Re: [twsocket] smtpclient sharemode

2006-07-03 Thread Arno Garrels
On recompiling my program I get an error message reading SmptClient.ShareMode Property does not exist Published property ShareMode is in the component since it uses a TFileStream (2003). Make sure your program uses correct version of SmtpProt.pas, and rebuild all. --- Arno Garrels [TeamICS

Re: [twsocket] THttpCli v6 - Relocation Problem

2006-07-03 Thread Arno Garrels
, V6 sometimesnot), probably someone more familiar with the component can clear me up? With two simple changes I can make the FollowRelocation feature working for the problem URL of the OP, however w/o RequestDone being triggered on relocation. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-04 Thread Arno Garrels
on system you do not own. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks Arnold -- 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] THttpCli v6 - Relocation Problem

2006-07-04 Thread Arno Garrels
to reproduce the same? Arno - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, July 04, 2006 8:07 AM Subject: Re: [twsocket] THttpCli v6 - Relocation Problem Frans van Daalen wrote: If you want me to check

Re: [twsocket] FTPClient and strange behaviour

2006-07-04 Thread Arno Garrels
code. I've tried that and the very same happens here! Is the server buggy? Which FTP server are you using? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html I'll try the mentioned things above (might take some days) and report back. Greetings Markus

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Arno Garrels
? Yes. In order to set transfer mode you must set property BinaryMode to TRUE as well as call TypeSet to send the transfer type command to the server. Same when switching back to ascii except property BinaryMode must be set to FALSE before. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Arno Garrels
? The server may default to ASCII, who knows? Transfer type is a server mode, to change it you need to call TypeSet anyway. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Sincerely, Brad Gies - NLM Software Southfield, MI, USA

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-11 Thread Arno Garrels
or keep-alive packets are being sent in the background. I'm not sure how disconnections with the data socket are handled. Maybe someone else knows? RequestDone is triggered with an error. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Dan -Original

Re: [twsocket] RAS Connection Component

2006-07-11 Thread Arno Garrels
by Francois a long time ago. Products|More|RasDial Component. You also should have a look at http://www.magsys.co.uk/delphi/magras.asp. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
the connection is cut off. If OnSessionClosed does not trigger the control connection is still alive, means the server did only drop the data connection for some reason. When OnSessionClosed triggers post a custom window message and in its message handler reconnect. --- Arno Garrels [TeamICS] http

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
OnRequestDone fires. So, in your case the server did not close the control connection, you may probably start subsequent transfers without reconnect first. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] Problem with FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
without reconnect first. --- Arno Garrels [TeamICS] -- 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 FTPClient when a shutdown

2006-07-12 Thread Arno Garrels
Arnold FLUTEAUX wrote: If I understand well what you say, in may case, when I cut off voluntarily the connection from server side, the datasocket must be closed and the Connected property must be True. Is that ? The order in which both connections are closed determines the server, it may be

Re: [twsocket] Error 334

2006-07-13 Thread Arno Garrels
kaythorn wrote: What is error 334? Authentication AUTH PLAIN failed, use AUTH LOGIN instead, for the exact meaning of error code 334 search the RFC. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] DesignIde70.bpl dependancy

2006-07-13 Thread Arno Garrels
Francois Piette wrote: Why is there a dependency on designide70.bpl if used with D7? There is a property editor. AFAIK designide is not a legal redistributable. It's very easy to split current package into a designtime and a runtime package. --- Arno Garrels [TeamICS] http://www.overbyte.be

Re: [twsocket] Error 334

2006-07-14 Thread Arno Garrels
instead, for the exact meaning of error code 334 search the RFC. --- Arno Garrels [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

Re: [twsocket] [ICS-SSL] built-in timer

2006-07-16 Thread Arno Garrels
. This discussion should probably be moved to the twsocket mailing list. Isn't it ? --- Arno Garrels [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

Re: [twsocket] [ICS-SSL] built-in timer

2006-07-16 Thread Arno Garrels
performance too much? --- Arno Garrels [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] Message-Id is not valid, according to RFC 2822

2006-07-17 Thread Arno Garrels
is blank, according to the RFC the Helo-string may not contain spaces. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Received: from unknown (HELO Kaythorn) (62.255.116.96) by smtp001.apm-internet.net with SMTP; 17 Jul 2006 13:19:34 - Reply-To: [EMAIL

Re: [twsocket] Message-Id is not valid, according to RFC 2822

2006-07-18 Thread Arno Garrels
(Random(32767), 4) + IntToHex(Random(32767), 4) + '@' + FixHostname(LocalHostName); end; {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- Piotr Dalek [EMAIL PROTECTED

Re: [twsocket] Re Message-Id is not valid, according to RFC 2822

2006-07-19 Thread Arno Garrels
DZ-Jay wrote: On Jul 19, 2006, at 03:52, Arno Garrels wrote: kaythorn wrote: Is there something I can do to pacify X-Spam? Remove that space (the one between Roland and Couvela). Shall we modify function GenerateMessageID? Something like: I don't think we should modify the function

[twsocket] OT: SysInternals acquired by Microsoft

2006-07-19 Thread Arno Garrels
It might be a good idea to grab copies of any of these tools that you like or use now, just in case Microsoft wants to limit their availability in the future... http://www.sysinternals.com/blog/2006/07/on-my-way-to-microsoft.html --- Arno Garrels [TeamICS] http://www.overbyte.be/eng

[twsocket] ICS v6 enhanced tcp server challenge

2006-07-20 Thread Arno Garrels
(~ 50 KB) Requires latest ICS-V6, Delphi7 or Delphi10. Also the included, slightly modified OverbyteIcsWndControl.pas (Property ThreadID published, search for {AG}) which Francois has not confirmed yet. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] HttpCli UTF-8 Coding Issue

2006-07-21 Thread Arno Garrels
--- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On Fri, 21 Jul 2006 10:25:17 -0300, you wrote: Thank you all for your answers, I found out the error. It was, as probably most of you realized so far, me! : ) I read the UTF-8 specs on Wiki and it says

Re: [twsocket] Fw: Bug in OverbyteIcsSmtpProt v6

2006-07-24 Thread Arno Garrels
this variable in TSmtpCli.TriggerGetData. An alternate would be to work with a PChar to the message text, but that would require change of some coding functions too currently working with Strings only. What do you think? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] TFtpCli with an HTTP 1.1 proxy

2006-07-28 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Is there any way to use TFtpCli through an HTTP 1.1 proxy ? The proxy requires a host ,user, password, port. It's not yet implemented, you have to code by yourself. Most necessary code is already available in HttpProt.pas. --- Arno Garrels [TeamICS] http

[twsocket] Fw: TFtpCli with an HTTP 1.1 proxy

2006-07-28 Thread Arno Garrels
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 28, 2006 3:50 PM Subject: Re: [twsocket] TFtpCli with an HTTP 1.1 proxy Thanks for the swift reply. I will give it a go. Jonesmabel -Original Message- From: Arno Garrels [EMAIL

Re: [twsocket] Fw: TFtpCli with an HTTP 1.1 proxy

2006-07-28 Thread Arno Garrels
Thanks for the swift reply. I will give it a go. I think best practice would be to implement HTTP proxy support in TWSocket, that would make it available to all upper protocol components too (like socks proxy), would be a nice contribution to ICS! --- Arno Garrels [TeamICS] http

[twsocket] AcceptEx() in a MT socket server

2006-07-29 Thread Arno Garrels
to be very fast when plenty of connections need to be accepted. Is it possible to assign the sAcceptSocket to property TWSocket.Handle? And how can I achieve that calling TWSocket.Close wont close the socket handle so it can be reused? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] AcceptEx() in a MT socket server

2006-07-29 Thread Arno Garrels
Arno Garrels wrote: Hello, Today I found AcceptEx() in winsock API (http://msdn.microsoft.com/library/en- us/winsock/winsock/acceptex_2.asp?frame=true) and I wonder whether the function might be usefull in a multi-threaded TWSocketServer. It is capable to accept into an already existing

Re: [twsocket] AcceptEx() in a MT socket server

2006-07-29 Thread Arno Garrels
Francois PIETTE wrote: assign the sAcceptSocket to property TWSocket.Handle? That's what Dup() is all about. Dup() assign a socket handle to an existing TWSocket instance. Sure, but I was asking because of this note in the docs: When this operation is successfully completed, sAcceptSocket

Re: [twsocket] Best event to start new Smtp session

2006-07-31 Thread Arno Garrels
project to a website and post the link here. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - I use OnRequestDone to start new session - I don't use Application-ProcessMessages - I only call Smtp-Abort in case of TimeOut. - I use SmtpCli-Quit to terminate

Re: [twsocket] AcceptEx() in a MT socket server

2006-08-01 Thread Arno Garrels
to accept ~400 connections/sec from a client app running on the same machine. --- Arno Garrels [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

Re: [twsocket] Interesting multithreading issue: race condition whentriggering an event handler

2006-08-07 Thread Arno Garrels
, isn't it ? I think it's better/faster than having critical sections for all triggers, do you plan to change all ICS triggers accordingly? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Arno Garrels
, WM_TRIGGER_EXCEPTION, 0, 0); as stated in the code. How can I understand which line of code or sequence causes the problem? The line always is raise ESocketException.Create('Test exception in WSocket') :) --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Arno Garrels
Arno Garrels wrote: Fastream Technologies wrote: I randomly get the test exception fired in my code. Make sure your custom messages are in a range above WH_MAX_MSG!! I mean custom messages posted to a thread, if you post custom messages to a custom window it doesn't matter. --- Arno

Re: [twsocket] Interesting multithreading issue: race conditionwhentriggering an event handler

2006-08-07 Thread Arno Garrels
Arno Garrels wrote: Francois PIETTE wrote: I've found an interesting multithreading issue which is related not The solution is to rewrite the procedure as follow: Line1: procedure TMyComponent.TriggerMyEvent(MyArg : Integer); Line2: var Line3: TMyEventProc EventProc; Line4: begin

Re: [twsocket] Test Exception in WSocket

2006-08-07 Thread Arno Garrels
, however someone must post the message number assigned to FMsg_WM_TRIGGER_EXCEPTION to either the thread where the V6 component window is attached to or to the V6 component window handle directly. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Regards, SZ

Re: [twsocket] Interesting multithreading issue:raceconditionwhentriggering an event handler

2006-08-07 Thread Arno Garrels
Windows. Reads and writes to variables of other sizes are not guaranteed to be atomic on any platform. But is this also true for Unix OS? Some articles I found say that atomicity is garanteed up to native int only. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Interestingmultithreadingissue:raceconditionwhentriggering an event handler

2006-08-07 Thread Arno Garrels
platform. Are i.e. reads/writes of Byte-variables not atomic in any Windows version, and if yes what versions are they? If that was true for 32-Bit Win I would have to change plenty of code :( --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- [EMAIL PROTECTED

Re: [twsocket] Interestingmultithreadingissue:raceconditionwhentriggering an event handler

2006-08-07 Thread Arno Garrels
Francois Piette wrote: This raise the following question : Is a field variable in a class aligned in memory ? (OnMyEvent variable is just a field variable). Isn't a field properly aligned in memory when switch {$A8} is set? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] Multithreaded Client Application

2006-08-07 Thread Arno Garrels
Éric Fleming Bonilha wrote: the Execute should be something like this: Looks OK, principally :) --- Arno Garrels [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

Re: [twsocket] OT; Delphi Turbo

2006-08-09 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Borland seems to be making some announcements today: Looks like an answer to the Express versions of M$ VS. Anyway Borlands IDE branche seems to be alive. That's really nice news. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

[twsocket] Somebody out there with a M$ Exchange server?

2006-08-13 Thread Arno Garrels
Hello, I'm going to add support for NTLM authentication to the TSmtpCli, but I cannot test the new feature due to the lack of a NTLM capable mail server. Maybe someone kindly provides me a test account. Thanks --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Somebody out there with a M$ Exchange server?

2006-08-13 Thread Arno Garrels
Gies,Brad wrote: Arno, Let me know if I can help, Thank you Brad, but Darin McGee just sent me a private mail that he will set up an account at 20:00 -5 GMT for me. So I will be able to test tomorrow, my TZ is GMT + 2h. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

[twsocket] TSmtpCli AUTH NTLM test

2006-08-14 Thread Arno Garrels
to smtpAuthAutoSelect**. Download: http://www.duodata.de/misc/delphi/SmtpProt_08132006.zip --- Arno Garrels [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

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
or hooks on its current desktop (unless hDesktop is a handle to the current desktop). --- Arno Garrels [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

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
. In V6 the window should be destroyed when the last TWsocket instance of a thread calls ThreadDetach (if memory serves well). --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
Arno Garrels wrote: Paul wrote: That means I have to free all http clients, switch to a new desktop and recreate everything, and continue the existing communications ! Nearly impossible. Is there no other way to do this ? You may try to call ThreadDetach instead which destroys TWSocket's

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
, may be Francois jumps in here. Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 14, 2006 5:07 PM Subject: Re: [twsocket] SetThreadDesktop with ICS Arno Garrels wrote: Paul wrote: That means I

[twsocket] Implementing STUN, RFC3489

2006-08-15 Thread Arno Garrels
STUN client component but UDP is the proto :( except upon SSL conections. Never done anything in UDP so far. --- Arno Garrels [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

Re: [twsocket] Latest V5 BETA in C++Builder 2006 Compile problems

2006-08-15 Thread Arno Garrels
BCB doesn't like class methods as property getters. I already fixed that in V6, here's the same in V5: http://www.duodata.de/misc/delphi/HttpContCod.zip Fixed means, that BCB is happy now, I did not check whether the content coding stuff is working correctly. --- Arno Garrels [TeamICS] http

Re: [twsocket] Using Pop3Cli in a thread

2006-08-15 Thread Arno Garrels
I'm not sure what you try to do, but it's easy: 1 - Create the Pop3Cli instance in Execute 2 - Assign properties and events 3 - Connect 4 - Start your MessageLoop --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Patrick Wong wrote: Dear all, I am using BCB6

Re: [twsocket] Using Pop3Cli in a thread

2006-08-17 Thread Arno Garrels
does not implement such a message loop by default . Think asynchrone, call Connect and the take any further action in the various event handlers. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list

[twsocket] UDP request/response proto

2006-08-17 Thread Arno Garrels
? --- Arno Garrels [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] UDP request/response proto

2006-08-17 Thread Arno Garrels
or triggers a final timeout when no response hasbeen received. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author

Re: [twsocket] UDP request/response proto

2006-08-17 Thread Arno Garrels
, for example in a thread. Can you please explain why that's a problem. In a thread, when MsgWaitForMultipleObjects returns due to pending message(s) I use Peekmessage() and dispatch them, why isn't it effective? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html TTimer

Re: [twsocket] UDP request/response proto

2006-08-17 Thread Arno Garrels
/workaround, if you don't want ExtCtrls to be included). --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html It does not have to include ExtCtrls.pas or any other that enlarge console programs. It was on question of one of my users to include timeouts and still have

Re: [twsocket] UDP request/response proto

2006-08-17 Thread Arno Garrels
, UINT_PTR idEvent, DWORD dwTime ); --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings

Re: [twsocket] Silly UDP questions

2006-08-17 Thread Arno Garrels
and port on the same PC? Yesterday, one application was logging packets, a second was ignoring them, but did start working again, somehow. Good question, but I guess it would make some proplems. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] UDP request/response proto

2006-08-18 Thread Arno Garrels
Francois PIETTE wrote: Unfortunately the callback requires a window handle as well. And what is the problem ? Use the TWSocket handle. Thanks, I must have had a blackout yesterday evening. The handle of the window used by Windows internally is passed. --- Arno Garrels [TeamICS] http

Re: [twsocket] UDP request/response proto

2006-08-18 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Unfortunately the callback requires a window handle as well. But zero is fine for the handle. I use this code in a DLL to close a database on inactivity. Thanks Angus, sometimes, especially after a 16 hours day it may happen that I even forget

[twsocket] UDP SendTo

2006-08-23 Thread Arno Garrels
or WSAEMSGSIZE is returned? --- Arno Garrels [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] UDP SendTo

2006-08-23 Thread Arno Garrels
also happily returns success even though no data was sent. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: Hello, I would like to send datagrams thru SendTo() instead of Send() in order to bypass copying data to TWSocket's send buffer. When I

Re: [twsocket] HTTPS forward proxy server

2006-08-23 Thread Arno Garrels
like BlueCoat the proxy just tunnels the SSL traffic, see GpHttpProxy made with ICS, and THttpCli. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Best Regards, SubZero -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] HTTPS forward proxy server

2006-08-23 Thread Arno Garrels
is GpHttpProxy. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks for the answer, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 23, 2006 4:19 PM Subject: Re

Re: [twsocket] Using a Cookie in Http(s)Tst

2006-08-24 Thread Arno Garrels
is the cookie HttpCli sends to the server. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html What I want to do in the application is to change 1 value and use the cookie to save the setting permanently. Cheers Benjamin -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] TWSocket threads

2006-08-28 Thread Arno Garrels
any instances in the same thread share a single hidden window. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html My reasons for asking is that is how ADO works, if you perform an asynchronous execute, it is done on another thread. I have an app that uses

Re: [twsocket] SMTPClient

2006-08-28 Thread Arno Garrels
. 2) When Connect completes sucessfully the order of calling subsequent methods could be i.e. Ehlo, MailFrom, RcptTo, Data, Quit. To learn how SMTP works see RFC2821 http://www.faqs.org/rfcs/rfc2821.html Also check out MailSnd demo delivered with ICS. --- Arno Garrels [TeamICS] http

Re: [twsocket] POSTing images to a server

2006-08-30 Thread Arno Garrels
the correct MIME type and content type, and encode the data. Has anyone tried this? Is there some sample that I could refer to? (I'm using BC++ Builder 5 right now) If think there's an example written in Delphi on the User Made page on the ICS homepage, search for HTTPCLIEXAMPLE.ZIP. --- Arno

Re: [twsocket] Documentation? (was - Re: POSTing images to a server)

2006-08-30 Thread Arno Garrels
correct :-) --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Marcelo Grossi - Original Message - From: Mohit Sindhwani [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 30, 2006 12:38 PM Subject: [twsocket] Documentation

[twsocket] FTP resuming transfers

2006-08-31 Thread Arno Garrels
it make sense to set stream size explizitely to the current position in the FtpCli/FtpSrv when data connection is closed (although I guess that it won't work in D2 since method Size exists since D3)? What do you think? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] FTP resuming transfers

2006-08-31 Thread Arno Garrels
Fastream Technologies wrote: AFAIK, ICS v6 is only for D/BCB6+ and ICSv5 is going to get abondoned. So no need to worry! :)) Have you really read my question?? Best Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket

Re: [twsocket] FTP resuming transfers

2006-08-31 Thread Arno Garrels
Francois PIETTE wrote: I reworked the streams stuff in both FTP C/S today and fixed some bugs, everything was tested sucessfully with 64-bit streams. There's only one question I cannot answer by myself. TFileStream in mode fmOpenWrite does not set its size to current position when it is

Re: [twsocket] OnDataAvailable and Reetrancy

2006-09-01 Thread Arno Garrels
'); AFlag := TRUE; try [..] finally AFlag : FALSE end; end; --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Greetings Markus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman

[twsocket] Some updates and a new component

2006-09-01 Thread Arno Garrels
directory and you are ready to go. 4) Added RFC-2782 support to HLembke\TDnsQuery: http://www.duodata.de/misc/delphi/new-Ics5-HLembke-DnsQuery.zip Included is an updated version of the demo. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change

Re: [twsocket] Handling redirects

2006-09-01 Thread Arno Garrels
Mike Versteeg wrote: PS: I will gladly pay a few dollars for a good help file :) Source code is the best help file you can get, it even describes the bugs ;-) --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Mike On 9/1/06, Francois Piette [EMAIL PROTECTED

Re: [twsocket] About HTTP client V6 changes to support .NET

2006-09-03 Thread Arno Garrels
Hello Francois, V6 is still in beta state, that's why I prefer the best solution regardless whether it breaks existing application code or not, as long as such 'breaking' changes are well documented. Just my two cents. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] About HTTP client V6 changes to support .NET

2006-09-04 Thread Arno Garrels
up high speed of ICS Win32 just to support .NET which I do not use (and will not use unless a customer realy wants it). Any additional move of data in memory slows down performance. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your

Re: [twsocket] About HTTP client V6 changes to support .NET

2006-09-04 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Mind Move uses pointers, so might be useless in .net, but that's a problem for people wanting to use .net, not win32. If so, I'm happy again. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change

<    1   2   3   4   5   6   7   8   9   10   >