Re: [twsocket] TProxyInfo from User Made page

2007-07-28 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Hello Maurizio, Hello Arno, TProxyInfo does not parse the proxy-strings correctly since here in W2K entries are separated by a space, I changed below function to accept multiple separator chars. Now when I pass separators

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

2007-08-06 Thread Arno Garrels
Fredrik Larsson wrote: I don't see it. I guess you found how to delete it yourself. The link is http://wiki.overbyte.be/wiki/index.php/FAQ.Microsoft.NET_framework I saw it a couple of hours back, now the above link doesn't work for me (There is currently no text in this page). -- Arno

Re: [twsocket] TProxyInfo from User Made page

2007-08-13 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Hello Arno, I finally got some time to examine the problem :-) Thanks. Now I'll change the code. Do you mind I'll send you a copy to test it? :-) OK, drop me a private mail. Revising the code I noticed this in the API

Re: [twsocket] TProxyInfo from User Made page

2007-08-13 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: [...] Revising the code I noticed this in the API description. For the InternetGetProxyInfo function for the lplpszProxyHostName say: [out] A pointer

Re: [twsocket] TProxyInfo from User Made page

2007-08-14 Thread Arno Garrels
Maurizio Lotauro wrote: No. I redo the test based on the sample found in the following link: http://msdn2.microsoft.com/en-us/library/aa383910.aspx As you already wrote, in the sample they pass a pointer to an allocated buffer that is never been used :-) Seems to be an incorrect example. So

Re: [twsocket] FTP server no timeout

2007-08-16 Thread Arno Garrels
keep alives in the FTP server but a client timeout triggered by a single timer. Lengthy transfers on the data channel should not trigger a timeout of the control channel, like many FTP servers do. Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] What would cause an ICS-threaded server to run into 100%CPU usage?

2007-08-17 Thread Arno Garrels
Fastream Technologies wrote: Yes, this is the question. It only happens at customer site and I cannot do remote debugging since the connection is not that fast. Under heavy load ? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your

Re: [twsocket] Help with re-install simply WSocket?

2007-08-20 Thread Arno Garrels
NO_DEBUG_LOG in the project options to exclude the IcsLogger component. -- 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] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
by the component but handled by DefWindowProc, so no problem. If the hidden window has been destroyed Windows flushes the thread message queue so GetMessage() should never see a message for a non-existing window. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
(Msg, 0, 0, 0) do begin if (Msg.hwnd = 0) then //*** begin **handle thread messages here (those posted by PostThreadMessage)** end else begin TranslateMessage(Msg); DispatchMessage(Msg); end; end; -- Arno Garrels [TeamICS] http://www.overbyte.be

Re: [twsocket] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
it happens that it stops at one line whilst the error is at a different location. -- 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] ThreadDEtach with THttpConnection problem

2007-08-22 Thread Arno Garrels
SessionClosed, though the message pump may be called from InternalClose, however that should not hurt at all. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html On 8/22/07, Arno Garrels [EMAIL PROTECTED] wrote: Fastream Technologies wrote: Is TranslateMessage really needed

Re: [twsocket] Is this design correct for THttpConnection/THttpClireturn to pool?

2007-08-27 Thread Arno Garrels
be easily changed to _always behave blocking. THttpCli.Abort also may call FCtrlSocket.Close. I don't understand why it doesn't always call FCtrlSocket.Abort, which would make sure that TWSocket.InternalClose() finished as soon as possible? Arno Garrels if(!FSessionClosedFlag pausedHere

Re: [twsocket] Is there any code example for sending emails throughGMail with ICS?

2007-08-31 Thread Arno Garrels
This may be a stupid question, isn't GMAIL = Google Mail and doesn't it allow sending thru their webmail client only? Fastream Technologies wrote: TIA, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-08-31 Thread Arno Garrels
has no AD support. I doubt that SurgeFTP realy writes permissions on a Windows box. Setting NTFS rights is no problem _if_ somebody knows how to translate the UNIX access mask into a Windows mask? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] Question regarding ActiveDirectory in FTP for Arno

2007-09-01 Thread Arno Garrels
/misc/delphi/ChkAcc.zip But hav not checked BCB compatibility, though I think it should work with BCB as well. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Regards, SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing

Re: [twsocket] Ftp-file corruption check

2007-09-16 Thread Arno Garrels
know, is not supported by ftpCli. (I am trying to build an ftp client that is to be used to upload files to external ftp host.) Aug 06, 2006 V2.107 Angus [SNIP] added XCRC command to get CRC32 for file (for servers without MD5) So get latest ICS-Beta, it's in both V5 and V6 -- Arno

Re: [twsocket] FTP Server demo fails

2007-09-19 Thread Arno Garrels
Francois PIETTE wrote: Any ideas what's causing this? No idea. I'm also not able to reproduce this in V6 D2007, strange. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html I'm unable to trace into the Pascal source for some reason. Add the component source code

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread Arno Garrels
called from the context of the main process or a background thread? By default ICS doesn't create threads, see above. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Many thanks. David On 19/09/2007, Arno Garrels [EMAIL PROTECTED] wrote: Francois PIETTE

Re: [twsocket] ICS Server raises external exception c000001d

2007-09-24 Thread Arno Garrels
Fastream Technologies wrote: What is a first chance exception anyway? Google is your friend, anyway: http://www.google.com/search?q=What+is+a+%22first+chance+exception%22 -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Regards, SZ - Original Message

Re: [twsocket] 100% CPU usage if data is not processed immediately

2007-09-26 Thread Arno Garrels
performance when you use the component as designed. When the application is idle it should read incomming data immediately. There is no reason to wait until a certain amount of data is pending to be read from winsock. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] 100% CPU usage if data is not processed immediately

2007-09-26 Thread Arno Garrels
. Or write received data to a stream if you like. Source code of the high level ICS components demonstrate how to do that in detail. -- 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] newb using TWSocket for the first time

2007-09-26 Thread Arno Garrels
are pumped in the event handler. Would another thread calling processmessages give the same problems? No, ProcessMessages retrieves messages from the thread message queue and dispatch them to the default window procedure. -- Arno Garrels Thanks. On 26/09/2007, Wilfried Mestdagh [EMAIL

Re: [twsocket] Wiki

2007-09-27 Thread Arno Garrels
Mike Sutton wrote: I thing a prominent link may help user, both new and existing. That most likely would help to make the project moving forward. I just added some short-descriptions to the TSmtpCli main page. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] TWSocketThrdServer graceful shutdown

2007-09-28 Thread Arno Garrels
, doesn't disconnect connected clients, if that's what you mean. -- 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] TWSocketThrdServer graceful shutdown

2007-09-28 Thread Arno Garrels
in winsock buffer will be sent nevertheless. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html --- Original Message --- From: Wilfried Mestdagh[mailto:[EMAIL PROTECTED] Sent: 9/28/2007 12:03:57 PM To : twsocket@elists.org Cc : Subject

Re: [twsocket] TWSocketThrdServer graceful shutdown

2007-09-28 Thread Arno Garrels
Wilfried Mestdagh wrote: Hello Arno, Most likely Wilfried is faster again ;-) most of the time you are faster :) Isn't this list great? Where else do you get faster support for free software? g -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Arno Garrels
in any other distributions. The only strange thing I do not understand is that all icons are missing in the Tool-Palette of BCB2007, anybody any idea? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html THANKS. Gorkem On 9/30/07, Francois PIETTE [EMAIL PROTECTED

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Arno Garrels
the latest ICS distribution. Everybody expects that the same, or even a newer version is available on your website. If that's not case please change that. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list

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

2007-10-03 Thread Arno Garrels
Olivier Sannier wrote: Isn't it what CloseDelayed is meant for? CloseDelayed won't reenter the event, however to ensure that last data packets are received properly before the socket is closed call ShutDown() for a gracefull close in DataSent event handler. -- Arno Garrels [TeamICS] http

Re: [twsocket] Using SourceForge for ICS ?

2007-10-03 Thread Arno Garrels
Maurizio Lotauro wrote: I see that jcl has switched from CVS to SVN, so probably it will be better to choice SVN. Yes, and TortoiseSVn looks like a very cool and powerfull tool on the first glance! -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] TWSocketThrdServer stuck in destructor loopwhenkilling threads

2007-10-04 Thread Arno Garrels
FSocketSrv := TWSocketThrdServer.Create(Nil); FSocketSrv.Listen(); FSocketSrv.MessageLoop; Finally // Add FSocketSrv.Free; PostMessage(AppHwnd, WM_SERVERTHREAD_WILL_TERMINATE_SOON, ErrorCode, RestartMe); End; End; -- Arno Garrels [TeamICS] http://www.overbyte.be

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread Arno Garrels
DZ-Jay wrote: 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. Now that I checked how to merge particular changes made in branches to the main source tree under trunk I would like

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread Arno Garrels
repository as well, locally I also treat them as two different projects. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html If the former, then they indeed should be separte projects. But if the latter, they should form part of the same code base: If ICS v5

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread Arno Garrels
Francois PIETTE wrote: The goal is to make development easier for a workgroup isn't it? Yes, it is. ICS can only benefit from such a concept. That must not mean to move the source to SourceForge, all we need is a server that runs SVN, 24 hours a day, ideally under your control. What

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread Arno Garrels
), and expect the shutdown to occur when destroying the Srv, like this: Try Srv.Shutdown(0); // make sure we do not accept anybody else! Here Srv.Close is the correct method to call. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] TWSocketThrdServer friendly notice whendisconnecting.

2007-10-11 Thread Arno Garrels
download. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Best Regards, SZ On 10/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: --- QUOTE: SZ If you do not want the ability to use multi-cores for communication threads, then async is the way to go. But IMO

Re: [twsocket] Bug (yet another?) in THttpCli

2007-10-11 Thread Arno Garrels
Fastream Technologies wrote: if(method == GET) bufferClient-GetASync(); // here gives Busy error, WHY? ISN'T THIS THE PROPER WAY TO USE THE COMPONENT?? I cannot reproduce this? Any special environment required? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Bug (yet another?) in THttpCli

2007-10-12 Thread Arno Garrels
On 10/11/07, Arno Garrels [EMAIL PROTECTED] wrote: Fastream Technologies wrote: if(method == GET) bufferClient-GetASync(); // here gives Busy error, WHY? ISN'T THIS THE PROPER WAY TO USE THE COMPONENT?? I cannot reproduce this? Any special environment required? -- Arno Garrels

Re: [twsocket] TWSocketThrdServer

2007-10-15 Thread Arno Garrels
methods return immediately before they are finished, later when they finished another event is triggered where you take further action. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks for your attention. Regards. Anne

[twsocket] A TFtpCli application performance question

2007-10-15 Thread Arno Garrels
Hi, I've written a FTP-uploader without taking much care of speed issues. It uploads 17000 files with total size of 830 MB in 56 mins in my 100 MBit/s LAN (logging each FTP-command). What do you think, is that: a) Poor b) OK c) Fast I currently don't have any idea. -- Arno Garrels [TeamICS

Re: [twsocket] A TFtpCli application performance question

2007-10-15 Thread Arno Garrels
% at the client side. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings

Re: [twsocket] A TFtpCli application performance question

2007-10-16 Thread Arno Garrels
Tobias Rapp wrote: Actually, this is a lot of small files (48KB mean size). Speed is roughly 2 Mbps which is low for a 100 Mbps. Oha, as I read between the lines, I have to rework my code :( Also do not forget to play with the BufSize and SocketSndBufSize settings on tWSocket. I made good

Re: [twsocket] Keeping a Responsive UI during THTTPCli Download

2007-11-12 Thread Arno Garrels
event, timer messages are not queued as well. Be aware that calling ProcessMessages from any ICS event handler can lead to strange and buggy component behaviour. Never ever call the message pump from component's event handlers, except you know very well what you are doing. -- Arno Garrels

Re: [twsocket] One Time Passwords

2007-11-14 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: I've got opt-md5 working in the ICS FTP client (and shortly the FTP server), but opt-md4 and opt-sha1 are not generating the expected results. Just a little test with MD4, Count 0 gave me the expected result: MD4Init(Md4Ctx); Md4Update(Md4Ctx,

Re: [twsocket] Need help with Active Directory user path permissions

2007-11-15 Thread Arno Garrels
I mean and help. AFAIK, that's impossible. I think you have to maintain a custom list of each user's folder mapping. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

Re: [twsocket] Need help with Active Directory user path permissions

2007-11-15 Thread Arno Garrels
the folders of an account you store this configuration, including the mapping real path = virtual path. Regards, SZ On 11/15/07, Arno Garrels [EMAIL PROTECTED] wrote: Fastream Technologies wrote: Hello, I wonder if it is possible to learn what folders a particular AD user has read

Re: [twsocket] Fwd: Re: parameter error in twsocket w/d2

2007-11-27 Thread Arno Garrels
} BytesReturned : DWORD; {$ELSE} BytesReturned : Cardinal; {$ENDIF} .. To: procedure TCustomWSocket.SetKeepAliveOption; var .. BytesReturned : DWORD; .. Does that help? -- Arno Garrels [EMAIL PROTECTED] wrote: Quoting Francois Piette [EMAIL PROTECTED]: I am using Delphi 2 c/s. I

Re: [twsocket] Fwd: Re: parameter error in twsocket w/d2

2007-11-28 Thread Arno Garrels
} it won't compile in Delphi 3 anymore, I think you should simply remove the conditional. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Quoting Arno Garrels [EMAIL PROTECTED]: the unit. Still the same 'actual and formal var parameter must be identical' error

Re: [twsocket] TWSocketServer and backlog

2007-11-28 Thread Arno Garrels
, with logging to the memo enabled I get the first error 10061 after 100-200 connects (10ms intervals). Turning off logging to memo establishes several thousand connections without any error easily. -- Arno Garrels Paul - Original Message - From: [EMAIL PROTECTED] To: twsocket

Re: [twsocket] upgrading

2007-11-28 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Update your Delphi, preferably to the current version (Delphi 2007). .. and what kind of nightmare can I expect migrating over 6mb of d2 code to d7? The longer you wait upgrading to a current version the nightmare will last longer ;-) -- Arno Garrels Contribute

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Its nice to have a mailing list where you can get many people addressing the same questions :) Agreed, and don't forget the free sources. Do you realy need more? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] ASyncReceive and wsoNoReceiveLoop

2007-11-29 Thread Arno Garrels
would be called multiple times. There is no relationship to the amount of data, there should be one FD_Read message as long as data is available in winsock's receive buffer. Looping in ASyncReceive is required before closing the socket in order to not miss any pending data. -- Arno Garrels

Re: [twsocket] TWSocketServer and backlog

2007-11-29 Thread Arno Garrels
to let them wait some milliseconds. Before you rewrite your application I suggest you code some test apps. with different designs and compare their performance. -- Arno Garrels dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your

Re: [twsocket] TWSocketServer and backlog

2007-11-29 Thread Arno Garrels
[EMAIL PROTECTED] wrote: --- Original Message --- From: Arno Garrels[mailto:[EMAIL PROTECTED] You can exchange data between threads the most easy is by posting a message where a pointer to the data is in WParam argument. The pointer can be freed in the custom message handler

Re: [twsocket] Exceptions ignored in OnDataAvailable method

2007-12-01 Thread Arno Garrels
you got any exception that was raised from TWSocket internaly? I mean outside of your handler? -- Arno Garrels -- 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] Exceptions ignored in OnDataAvailable method

2007-12-02 Thread Arno Garrels
DZ-Jay wrote: On Dec 1, 2007, at 13:36, Arno Garrels wrote: Have you got any exception that was raised from TWSocket internaly? I mean outside of your handler? Well, I noticed the issue because my handler raised an unhandled exception and the application then behaved in a strange manner

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

2007-12-03 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Hello: I just noticed something very bizarre: My client application sends text data using TWSocket to a TWSocketServer server application, and leading tabs are transliterated into spaces when they arrive! Is LineEdit turned on ? -- Arno Garrels I've

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

2007-12-03 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Hello: Nevermind my last message. Too late ;-) But it should be realy made the default value. FLineEdit seems not being initialized correctly allways, at least not by the Delphi 7 compiler, maybe when Optimization is turned off ? -- Arno Garrels Like an idiot

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

2007-12-03 Thread Arno Garrels
it was the intention to have it FALSE=NULL by default. If so, in the constructor of TCustomLineWSocket there should be added a line FLineMode := False; -- Arno Garrels --- Original Message --- From: Arno Garrels[mailto:[EMAIL PROTECTED] Sent: 12/3/2007 4:38:28 PM

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

2007-12-03 Thread Arno Garrels
Arno Garrels wrote: be added a line FLineMode := False; FLineEdit := False; of course! (AV due to the second beer). -- Arno Garrels --- Original Message --- From: Arno Garrels[mailto:[EMAIL PROTECTED] Sent: 12/3/2007 4:38:28 PM To : twsocket@elists.org Cc

Re: [twsocket] Webserver only with local connections

2007-12-04 Thread Arno Garrels
in OverbyteIcsWinsock2.pas to get the list of interfaces including loopback and also a function to check whether an IP is in current subnet. -- Arno Garrels [Big snip] -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit

Re: [twsocket] Winsock-Error 'Invalid Parameter' (10022) under Win98

2007-12-05 Thread Arno Garrels
Arno Garrels wrote: Try to set a breakpoint in WSocket.pas, procedure TCustomWSocket.Connect and single step thru the code. Then please post the line where the exception is fired. Or use MadExcept to generate a BugReport if you don't have Delphi installed. -- Arno Garrels [TeamICS] http

Re: [twsocket] Winsock-Error 'Invalid Parameter' (10022) under Win98

2007-12-05 Thread Arno Garrels
(FHSocket, Handle, FMsg_WM_ASYNCSELECT, FSelectEvent); -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread Arno Garrels
WSocketThrdServer.Free, so it was problably destroying the object while it was attempting to send...? If so, how can I prevent this? I think it helps to disconnect all, then destroy the server object after all clients have been actually disconnected. -- Arno Garrels -- To unsubscribe

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread Arno Garrels
DZ-Jay wrote: On Dec 6, 2007, at 05:39, Arno Garrels wrote: I think it helps to disconnect all, then destroy the server object after all clients have been actually disconnected. I'll look into this, but as far as I recall (I have no access to the source code right now

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread Arno Garrels
[EMAIL PROTECTED] wrote: Quote from Arno: csDestroying is already in the states when you call DisconnectAll() from the destructor of the server's owner component. If you created the server with a nil owner, no problemo. - Then, as you say, there's no problemo, because that's

Re: [twsocket] ASyncReceive and wsoNoReceiveLoop

2007-12-06 Thread Arno Garrels
is slow. -- Arno Garrels -- Jake Traynham Owner, CNS Plug-ins http://www.cnsplug-ins.com/ -- 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

2007-12-11 Thread Arno Garrels
a server response. When it's received you may either close or abort the connection yourself or wait until the server drops the connection. Anyway start next connection attempt only when you are not connected, means after SessionClosed fired. -- Arno Garrels -- To unsubscribe or change your

Re: [twsocket] ICS V6 and C++Builder 2006 compile

2007-12-12 Thread Arno Garrels
Albert Wiersch wrote: I compiled ICS V6 for C++Builder 2006 and it seemed to go very smoothly. I thought it went too easy! But when I went to compile my application, I now get this: [C++ Error] cse.cpp(111): E2015 Ambiguity between '_fastcall Application()' and 'Forms::Application'

Re: [twsocket] Is there any code example for sending emails throughGMail with ICS?

2007-12-23 Thread Arno Garrels
Gmail supports STARTLS on port 25 as well as implicite SSL connections on port 465 or 587, nothing special. The SslMailSnd demo works great. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] Simple FTP.Put Example

2008-01-01 Thread Arno Garrels
file bytes of the local file? Yes, and I suggest not to update the bar each time the event triggers but e.g. only every second. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http

[twsocket] Strange e-mail problems Server 2003

2008-01-02 Thread Arno Garrels
:43:41 PM 354 Enter mail, end with . on a line by itself 01.01.08 4:45:46 PM Error=10054 Session aborted! Adding the application to the exception list makes no difference. Anybody any idea? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Strange e-mail problems Server 2003

2008-01-02 Thread Arno Garrels
be the required ICMP packets are filtered? Does someone know what has to be configured to ensure MTU Discovery will not fail? -- Arno Garrels During this delay do you send data ? I say this because some server will close cnx if no data transmitted fast enought and do not receive data for xx

Re: [twsocket] FTP server and passive ports

2008-01-05 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: I guess that won't make a difference, since if a port were still in use an exception in Listen/Bind should be raised and CommandPASV() should return the error. There is a table in the server which keeps track of which passive ports are in use,

Re: [twsocket] FTP server and passive ports

2008-01-05 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Can you reproduce those errors in a simple environment that uses plain TCP/IP connections? Later today I will try as well. No, I can not reproduce any passive problems locally with a server on my development PC, or my local Windows 2000 server, or

Re: [twsocket] FTP server and passive ports

2008-01-06 Thread Arno Garrels
Arno Garrels wrote: Arrgh, after uploading 40.000 files w/o any problem ( all uploads used the same listening passive port ) the server rebooted and I now need to debug the Minidump it created. Will have a look at that file tomorrow :-(( I suspect either the patched tcpip.sys (patch from

Re: [twsocket] smtp

2008-01-06 Thread Arno Garrels
server bit specific? It determines the default message text encoding similar to a property in OE. Signon: is that the mac address and how does one format it? No, it is the parameter of the Helo/Ehlo command. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] How does one create TryToSend failure in lab conditions?

2008-01-06 Thread Arno Garrels
Fastream Technologies wrote: Hello, I need this for testing. triggersessionclosed should be called from within TryToSend, not from winsock event (due to client closed session). Any idea? Connect, unplug the network cable, then send something. -- Arno Garrels [TeamICS] http

Re: [twsocket] New V6 beta FTP client and server components

2008-01-06 Thread Arno Garrels
Many thanks, today I managed to raise an exception in CommandPASV(), port in use. The port table reported the port as free, although the server actually was listening on that port. I was clicking around in multiple FTP clients when that happened. Unfortunately, subsequently I wasn't able to

Re: [twsocket] New V6 beta FTP client and server components

2008-01-07 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Many thanks, today I managed to raise an exception in CommandPASV(), port in use. The port table reported the port as free, although the server actually was listening on that port. I was clicking around in multiple FTP clients when that happened.

Re: [twsocket] UDP IP Spoofing Possible with ICS?

2008-01-07 Thread Arno Garrels
JLIST wrote: Hello all, Is it possible to UDP IP spoofing with twsocket component? The only possibility is to use raw sockets with any component built around winsock API. You may want to use WinPCap instead which allows sending raw packets as well. -- Arno Garrels [TeamICS] http

[twsocket] Socket hijacking

2008-01-07 Thread Arno Garrels
SOCK_STREAM as well. If I want to explicitely disallow hijacking of my listening socket by setting option SO_EXCLUSIVEADDRUSE before Bind() there's currently no way. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] UDP IP Spoofing Possible with ICS?

2008-01-07 Thread Arno Garrels
can still use ICS for receiving the packets and use WinPCAP for sending. That's possible, yes. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks, Jack -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi

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

2008-01-17 Thread Arno Garrels
not nice. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html AG -- AG Arno Garrels [TeamICS] AG http://www.overbyte.be/eng/overbyte/teamics.html i also hope that the bug gets eliminated in the next release by FPIETTE. i don't really like using custom-patched

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

2008-01-18 Thread Arno Garrels
send a response to the Quit command, and thus the Pop3State is never reset properly. -- Arno Garrels [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

Re: [twsocket] OFF: Mysterious dummy connections on a web-server

2008-02-06 Thread Arno Garrels
know whether this is a persistent connection or not, detecting timeouts is clearly the job of an application. BTW: V6 includes an integrated component TIcsTimer that works thread-safe and also uses the existing hidden window of a ICS-Component passed as the owner. -- Arno Garrels Regards

Re: [twsocket] Invalid Window Handle when Application Closed andActiveConnections

2008-02-19 Thread Arno Garrels
? What component are we talking about? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html - Original Message - From: wayne forrest [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, February 19, 2008 1:42 PM Subject: Re: [twsocket] Invalid

Re: [twsocket] Invalid Window Handle when ApplicationClosedandActiveConnections

2008-02-19 Thread Arno Garrels
triggers when component's internal send buffer is empty or when property BufferedByteCount equals zero. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Francois Piette wrote: And more note: the code will close the connections, but will not wait until

Re: [twsocket] SMTP Client and Streams

2008-02-19 Thread Arno Garrels
tips? -- Arno Garrels [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] SMTP Client and Streams

2008-02-19 Thread Arno Garrels
Hello, I think that would be a nice feature to put on top of the (virtual) todo list. I don't need that currently, but it makes much sence to me. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Wilfried Mestdagh wrote: Hello Arno, Is there a possibility to use

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Arno Garrels
running, customers frequently reported that upload speed increased heavily when they killed their background protection. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fias Norbert István wrote: Honestly I did not find the answer for my following question int he

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Arno Garrels
, however they will most likely send the files differently, and they use blocking winsock API which may require different parameters? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fias Norbert István wrote: No, there is no FW. As I said with a different component

Re: [twsocket] Problem with ICS package and Delphi 2006

2008-03-06 Thread Arno Garrels
Change the project options of the package from Build as needed (German: Wenn erforderlich) to German Manual (probably On demand in the English version). -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Support the ICS Wiki now. http://wiki.overbyte.be/wiki/index.php

Re: [twsocket] Problem with ICS package and Delphi 2006

2008-03-06 Thread Arno Garrels
Arno Garrels wrote: Change the project options of the package from Build as needed (German: Wenn erforderlich) to German Manual (probably On demand in the English version). package is the ICS package. Tobias Rapp wrote: Hello everybody! I have a problem related with the ICS package

Re: [twsocket] Problem whith FTP Server and Microsoft IIS

2008-03-06 Thread Arno Garrels
OK. That's as designed, on one interface/IP and port only one socket may listen (in older windows versions it was sometimes possible to hijack an already listen socket, however that's no longer possible in most cases). In windows server versions you can create plenty of virtual interfaces. -- Arno

Re: [twsocket] Problem whith FTP Server and Microsoft IIS

2008-03-06 Thread Arno Garrels
to listen on all available interfaces. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Indeed, if you launch two FTP Server with the same IP address server and the same port, it can't be OK. However, in this case, these IP addresses are all differents

Re: [twsocket] TFtpClient, DataSocket.OnSessionClosed event is not always fired.

2008-03-08 Thread Arno Garrels
who is blamed :( -- Arno Garrels asvetov wrote: Hello all! I have sporadic problems with TFtpClient where OnSessionClosed event of DataSocket not always fired. Especially if FTP Server is on the LAN, or on the same machine as FTP Client and Firewall/Antivirus Software (in my case Kaspersky

Re: [twsocket] TFtpClient, DataSocket.OnSessionClosed event is not always fired

2008-03-09 Thread Arno Garrels
%: on the server side I create directory structur with about 100 subdirs - then in xferdemo2 I click on list host files (MultiFTP tab). The problem usually occurs. I listed entire volume C: which has not the depth of 100 subdirs. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] TFtpClient, DataSocket.OnSessionClosed event is not always fired

2008-03-09 Thread Arno Garrels
preventing the profile from unloading successfully: avp.exe (472) HKCU (0x3d8) It's a huge suite, with probably plenty of huge bugs. Forget it, instead get ClamWin, a reliable hardware router and don't open e-mail attachments g -- Arno Garrels 09.03.08, 21:17, Arno Garrels [EMAIL

<    4   5   6   7   8   9   10   11   12   13   >