Re: [twsocket] Ftp server FreeCurrentPasvPort

2006-01-16 Thread Francois Piette
> Which version do you use, maybe something has been lost on merging my > changes - unfortunately there are so many versions lately...? ICS-beta and ICS-SSL are at the same level on my website and include eveything you sent to me (and yes I made a mistake in the merge process and it was corrected

Re: [twsocket] Buffer size

2006-01-16 Thread Francois Piette
Actully, the buffer size you use to transmit receive is not critical at all. It has to be large enoug in orther to not have too much OnDataSent or OnDataAvailable events triggeres which would consume CPU and in case you have a slow CPU, you couldn't sustain the line speed when the line speed is

Re: [twsocket] Ftp server FreeCurrentPasvPort

2006-01-16 Thread Arno Garrels
Peter Feldbaumer wrote: >> While I'm testing ICS-SSL shutdown stuff. >> FreeCurrentPasvPort of FTP server is either not working properly or >> it is not always called, no idea, however if it once triggered error >> "no available passive ports" (or something like that), you can wait for >> ever,

[twsocket] Buffer size

2006-01-16 Thread David A. G.
Hello all, sorry if this topic was posted some times. I making a protocol to transfer files via TCP using a mixed mode (binary and text). I searched in ICS Components for the better buffer size: in HTTP protocol I found HTTP_SND_BUF_SIZE = 8193 I made tests and this value works great for LAN tr

Re: [twsocket] Ftp server FreeCurrentPasvPort

2006-01-16 Thread Peter Feldbaumer
> While I'm testing ICS-SSL shutdown stuff. > FreeCurrentPasvPort of FTP server is either not working properly or > it is not always called, no idea, however if it once triggered error > "no available passive ports" (or something like that), you can wait for > ever, even until there's no more

[twsocket] Ftp server FreeCurrentPasvPort

2006-01-16 Thread Arno Garrels
Hi, While I'm testing ICS-SSL shutdown stuff. FreeCurrentPasvPort of FTP server is either not working properly or it is not always called, no idea, however if it once triggered error "no available passive ports" (or something like that), you can wait for ever, even until there's no more socket

Re: [twsocket] Beta 2006 version

2006-01-16 Thread Francois PIETTE
OK, thanks. As stated in the readme, component icons have not been created yet. You can take the dcr files from the V5. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Gary Stafford" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Monday, January 16, 2006 8

Re: [twsocket] Beta 2006 version

2006-01-16 Thread Gary Stafford
I've taken it from the website. Thanks Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 16 January 2006 16:53 To: ICS support mailing Subject: Re: [twsocket] Beta 2006 version > I've just installed Delphi 2006 and am trying to

Re: [twsocket] TFtpClient Abort

2006-01-16 Thread Francois PIETTE
> 1) Is there any special reason, why in procedure > TCustomFtpCli.AbortAsync WSockets are Closed instead > of Aborted? No special reason. > If not, I would like to change calls to WSocket.Abort. Looks good. > 2) Also in this proc. DestroyLocalStream is called twice, > can I delete one of them

Re: [twsocket] Beta 2006 version

2006-01-16 Thread Francois PIETTE
> I've just installed Delphi 2006 and am trying to install > overbyteIcsDel100package but I keep getting ftpsrv.dcr file not found. > > As far as I can see this file is not included in the beta version but it > is > in older versions You can take the file from older version. btw: Which version ar

[twsocket] TFtpClient Abort

2006-01-16 Thread Arno Garrels
Hi, 1) Is there any special reason, why in procedure TCustomFtpCli.AbortAsync WSockets are Closed instead of Aborted? If not, I would like to change calls to WSocket.Abort. 2) Also in this proc. DestroyLocalStream is called twice, can I delete one of them? --- Arno Garrels [TeamICS] http://www.o

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-16 Thread Fastream Technologies
I removed all the old units then added all the .pas files in the new folder. IcsZLibDLL.pas is included. Which units should be in the package which defines need to be defined? Isn't there anybody with a working BCB6 package? Thanks, SZ - Original Message - From: "Angus Robertson - Mag

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-16 Thread Angus Robertson - Magenta Systems Ltd
> I should remove what? I do not understand. There was no BCB package > and I created one from normal ICS beta package. IcsZLibDll.pas is not in the ICS package. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocke

[twsocket] Beta 2006 version

2006-01-16 Thread Gary Stafford
I've just installed Delphi 2006 and am trying to install overbyteIcsDel100package but I keep getting ftpsrv.dcr file not found. As far as I can see this file is not included in the beta version but it is in older versions Thanks for your help Gary -- To unsubscribe or change your sett

Re: [twsocket] Http proxy failures with new ICS package

2006-01-16 Thread Paul
> You mean the beta ? yes, should have added it in the subject > Which kind of reports: success or failure ? Same (or even worse) as always : errors on 'POST' a stream > Sorry, I don't understand your english. I'll translate it for you : better not use it with Http. Paul - Original Message

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello Arno, I found it. It is like you say. In TryToSend there is no check, and in OnSessionClose I deactivate a lower level proto layer, and this one sends a 'deactivate' packet. What happens is that State is still wsConnected in OnSessionClose, and I use it in that layer to send or not send the

Re: [twsocket] wierd sequence in event firing of TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello Francois, > Wierd sequence may be produced when you call the message pump from a socket > event. No just found it. See my other mail. It is because my application was sending a packet from IN the OnSessionClose. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Arno Garrels
Arno Garrels wrote: > Wilfried Mestdagh wrote: >> Hello Arno, >> >>> I think it is impossible that OnSessionClosed is fired twice, because >>> it is always checked whether FCloseInvoked = FALSE. >>> Isn't it possible that there are multiple instances? >> >> I just ahve posted same message again,

Re: [twsocket] Http proxy failures with new ICS package

2006-01-16 Thread Francois Piette
> I updated my programs with the new ICS release. You mean the beta ? > I receive many reports of users working behind a proxy, Which kind of reports: success or failure ? > so I thick it's better to scip the latest release, at least for Http Sorry, I don't understand your english. -- Contrib

Re: [twsocket] wierd sequence in event firing of TWSocket

2006-01-16 Thread Francois Piette
Wierd sequence may be produced when you call the message pump from a socket event. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overb

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello Arno, > You may be right since in procedure TCustomWSocket.TryToSend FCloseInvoked You are right, and I think that is the problem. I still have to check because it's a rather complicated thing. But I think the 'Sending TCP packet' is done from in the OnSessionClosed event handler. I think i

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-16 Thread Fastream Technologies
I should remove what? I do not understand. There was no BCB package and I created one from normal ICS beta package. Regards, SZ - Original Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: Sent: Monday, January 16, 2006 12:06 PM Subject: Re: [twsocket] In

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Arno, > >> I think it is impossible that OnSessionClosed is fired twice, because >> it is always checked whether FCloseInvoked = FALSE. >> Isn't it possible that there are multiple instances? > > I just ahve posted same message again, sorry for that (need some > c

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-16 Thread Angus Robertson - Magenta Systems Ltd
I answered this several days ago, IcsZLibDll.pas is not needed for ICS unless you change defines to use the zlib DLL instead of OBJ files, just remove it from whereever you have found it. Angus Original Message *Subject:* Re: [twsocket] Installing latest beta under BCB6--PRO

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello, I was also thingking wy there is an OnDataSent. Also I checked the code where I send witch should give an exeption eather coming from my code or fromt TWSocket if it is closed: try if FLogEvents then TriggerLogEvents('Sending TCP packet'); if FCli.State <> wsConnect

[twsocket] Http proxy failures with new ICS package

2006-01-16 Thread Paul
I updated my programs with the new ICS release. I receive many reports of users working behind a proxy, so I thick it's better to scip the latest release, at least for Http Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello Arno, > I think it is impossible that OnSessionClosed is fired twice, because > it is always checked whether FCloseInvoked = FALSE. > Isn't it possible that there are multiple instances? I just ahve posted same message again, sorry for that (need some coffee). No there is only 1 instance th

[twsocket] wierd sequence in event firing of TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello, Anyone ever seen this sequence ? 1/14/2006 11:25:58 PM OnDataSent 1/14/2006 11:25:58 PM OnSessionClosed with error: 10053 1/14/2006 11:25:58 PM Sending TCP packet 1/14/2006 11:25:58 PM OnSessionClosed with error: 10054 1/14/2006 11:25:58 PM OnDataSent 1/14/2006 11:26:03 PM DNSLookup for .

Re: [twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Arno Garrels
Wilfried Mestdagh wrote: > The wierd thing is that OnDataSent is fired hier above ! But I cannot > understeand wy 2 times a OnSessionClosed without a Connect in between. > Anyone ever saw this ? I think it is impossible that OnSessionClosed is fired twice, because it is always checked whether FCl

[twsocket] events firing in strange sequence TWSocket

2006-01-16 Thread Wilfried Mestdagh
Hello, Have something very strange. At customar it is client program and they connect via VPN over internet to server. What I dont know is if they have obscure (software) firewalss who are messing up Winsock, so: 1/14/2006 11:25:58 PM OnSessionClosed with error: 10053 1/14/2006 11:25:58 PM Sendin

Re: [twsocket] Installing latest beta under BCB6--PROBLEMS!

2006-01-16 Thread Fastream Technologies
Hello, I have just found time to retry and get the following: Build [Pascal Error] IcsZLibDll.pas(658): Undeclared identifier: 'ZLibDllNameBis' [Pascal Error] IcsZLibDll.pas(663): Undeclared identifier: 'ZLibDllNameTer' [Pascal Error] IcsZLibDll.pas(759): Undeclared identifier: 'ZLibDllNa